private.h 514 B

1234567891011121314151617181920
  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. {
  12. lub_partition_t m_base;
  13. pthread_key_t m_key;
  14. pthread_mutex_t m_mutex;
  15. };
  16. void
  17. lub_posix_partition_init(lub_posix_partition_t *instance,
  18. const lub_partition_spec_t *spec);