About win32 native thread

Is there any reliable win32 thread lib?

Wang Dong wrote:

Is there any reliable win32 thread lib?

I have not used it, but win32-thread exists as part of the Win32 Utils
project:

http://rubyforge.org/projects/win32utils/

Cheers,
Dave

Dave Burt wrote:

Wang Dong wrote:

Is there any reliable win32 thread lib?

I have not used it, but win32-thread exists as part of the Win32 Utils
project:

http://rubyforge.org/projects/win32utils/

That's purely alpha, and it will crash if you try to create more than one native thread.

There is no reliable thread lib, for Windows or any other platform, because Ruby isn't thread safe at this point.

Regards,

Dan

"Daniel Berger" <djberg96@gmail.com> ???:45AE3034.2020409@gmail.com...

Dave Burt wrote:

Wang Dong wrote:

Is there any reliable win32 thread lib?

I have not used it, but win32-thread exists as part of the Win32 Utils
project:

http://rubyforge.org/projects/win32utils/

That's purely alpha, and it will crash if you try to create more than one
native thread.

There is no reliable thread lib, for Windows or any other platform,
because Ruby isn't thread safe at this point.

Regards,

Dan

Thanks.
win32-thread really always crash.
Python builds threads on pthreads libaray for portable, it's a good ideal.