Forum: Ruby os level thread in a Ruby extension module

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Todd G. (Guest)
on 2006-04-24 01:48
I need to handle sockets in C which will be wrapped in a Ruby extension
module.  At this point, I'm not sure how it will work, but I think I'm
going to need to put the socket code in a thread.  Is this going to
cause a problem when I build a Ruby module around it?  (Assume this will
be pthreads in Linux.)  Is there any reason the interpreter might not
like me using threads in the extension module?  Thanks.
This topic is locked and can not be replied to.