Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   CLOSED failed (http://www.linux-archive.org/gentoo-user/407063-closed-failed.html)

Valmor de Almeida 08-01-2010 06:56 PM

CLOSED failed
 
On 07/29/2010 06:19 AM, pk wrote:
> On 2010-07-29 06:49, Valmor de Almeida wrote:
>
>> Thanks for the feedback. I posted the same question on the octave users
>> list but no answers.
>
> Maybe vacation time so most users are offline? I'm on vacation but still
> online... :-)
>
> If you know C you could check out the semaphore.c file to see what it
> looks like and how whatever function is used should be called... maybe
> it can give you some clue?
>
> Best regards
>
> Peter K
>

For the record, the work around this problem was posted on the octave
users list.

>>>It appears to me to be either initialization problem or race
>>>condition. The workaround that
>>>works for me is to read some file first fith imread, after that
>>>imwrite works fine. I.e.:
>>>
>>>junk1 = imread("some_file.png")
>>>im=ones(2);
>>>imwrite(im, "myfile.png")
>>>
>>>Dmitri.

--
Valmor


All times are GMT. The time now is 01:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.