private.h 475 B

123456789101112131415161718
  1. /*
  2. * private.h
  3. */
  4. #include <pthread.h>
  5. #include "../private.h"
  6. /**********************************************************
  7. * PRIVATE TYPES
  8. ********************************************************** */
  9. typedef struct _lub_posix_partition lub_posix_partition_t;
  10. struct _lub_posix_partition {
  11. lub_partition_t m_base;
  12. pthread_key_t m_key;
  13. pthread_mutex_t m_mutex;
  14. };
  15. void
  16. lub_posix_partition_init(lub_posix_partition_t * instance,
  17. const lub_partition_spec_t * spec);