Subject:
[ruby-ffi] How to copy a struct?
From:
cootcraig
Date:
10/26/11 11:50 PM
To:
ruby-ffi

What's a good way to copy a struct?

I have one thread that creates a struct and then loops reading from a
network socket into the struct.  I would like to copy the struct and
have the copy handled in a separate thread.

Thanks.