Os level thread in a Ruby extension module

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.