[sane-devel] pthread implementation

m. allan noah kitno455 at gmail.com
Wed May 6 02:16:57 UTC 2009


so you've made it unsigned long? what happens in places where the
value is set to or checked for -1 (avision.c) ?

allan

On Tue, May 5, 2009 at 10:09 PM, Michael Cronenworth <mike at cchtml.com> wrote:
> m. allan noah wrote:
>>
>> yes- it would be nice if SANE_Pid was an opaque type, perhaps just an
>> array index or pointer to a struct. Right now the ranges of valid
>> values are not the same pthread vs fork.
>>
>
> Actually I changed the typedef in sanei_thread.h from long to type pthread_t
> and made other appropriate changes. I have it compiled and packaged for
> Win32, but I haven't had a chance to test it yet. After it's tested expect
> to see another e-mail.
>
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list