Skip to content

Instantly share code, notes, and snippets.

@guicho271828
Last active August 29, 2015 14:18
Show Gist options
  • Save guicho271828/8243c67e4e5a28cbea1e to your computer and use it in GitHub Desktop.
Save guicho271828/8243c67e4e5a28cbea1e to your computer and use it in GitHub Desktop.
typedef union
{
struct
{
int __lock;
unsigned int __futex;
unsigned long long int __total_seq;
unsigned long long int __wakeup_seq;
unsigned long long int __woken_seq;
void *__mutex;
unsigned int __nwaiters;
unsigned int __broadcast_seq;
} __data;
char __size[48];
long long int __align;
} pthread_cond_t;
(cffi:defcunion pthread_cond_t
(__data (:struct ???))
(__size :char :count 48)
(__align (:long :long :int)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment