En Mon, 29 Jun 2009 13:19:31 -0300, Doug <dchime...@gmail.com> escribió:
Has any converted the structure pthread_mutex_t <bits/wordsize.h> to a ctypes structure class ? I looking at some C code that is using pthreads and need to translate pthreads_mutex_t structure into python (via ctypes)
I think the pthread_mutex_t type is intended to be "opaque" to application code. You should not mess with its contents; the only thing one must know is its size (and only if one wants to allocate it from Python). For the most part, it's like a void* pointer.
-- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list