# About win32 native thread

**URL:** <https://www.ruby-forum.com/t/about-win32-native-thread/81924>\
**Category:** Ruby\
**Created:** [January 16, 2007, 9:11am UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924 "2007-01-16T09:11:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangdong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/73ab20/32.png) [@wangdong](https://www.ruby-forum.com/u/wangdong)\
**Post date:** [January 16, 2007, 9:11am UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924/1 "2007-01-16T09:11:31Z")

</div>

Is there any reliable win32 thread lib?

---

<div class="post-metadata">

**Author:** ![wangdong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/73ab20/32.png) [@wangdong](https://www.ruby-forum.com/u/wangdong)\
**Post date:** [January 17, 2007, 9:32am UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924/2 "2007-01-17T09:32:25Z")

</div>

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/](http://rubyforge.org/projects/win32utils/)

Cheers,  
Dave

---

<div class="post-metadata">

**Author:** ![wangdong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/73ab20/32.png) [@wangdong](https://www.ruby-forum.com/u/wangdong)\
**Post date:** [January 17, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924/3 "2007-01-17T15:16:42Z")

</div>

Dave B. 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/](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

---

<div class="post-metadata">

**Author:** ![wangdong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/73ab20/32.png) [@wangdong](https://www.ruby-forum.com/u/wangdong)\
**Post date:** [January 18, 2007, 3:21am UTC](https://www.ruby-forum.com/t/about-win32-native-thread/81924/4 "2007-01-18T03:21:13Z")

</div>

“Daniel B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
???:removed\_email\_address@domain.invalid…

> 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.
