Changeset View
Changeset View
Standalone View
Standalone View
lib/libthr/thread/thr_private.h
Show First 20 Lines • Show All 1,007 Lines • ▼ Show 20 Lines | |||||
void *__thr_calloc(size_t num, size_t size); | void *__thr_calloc(size_t num, size_t size); | ||||
void __thr_free(void *cp); | void __thr_free(void *cp); | ||||
void *__thr_malloc(size_t nbytes); | void *__thr_malloc(size_t nbytes); | ||||
void *__thr_realloc(void *cp, size_t nbytes); | void *__thr_realloc(void *cp, size_t nbytes); | ||||
void __thr_malloc_init(void); | void __thr_malloc_init(void); | ||||
void __thr_malloc_prefork(struct pthread *curthread); | void __thr_malloc_prefork(struct pthread *curthread); | ||||
void __thr_malloc_postfork(struct pthread *curthread); | void __thr_malloc_postfork(struct pthread *curthread); | ||||
int _thr_join(pthread_t, void **); | |||||
__END_DECLS | __END_DECLS | ||||
__NULLABILITY_PRAGMA_POP | __NULLABILITY_PRAGMA_POP | ||||
#endif /* !_THR_PRIVATE_H */ | #endif /* !_THR_PRIVATE_H */ | ||||
arichardson: Is there a reason that some of these start with `_Tthr` instead of `_thr`? | |||||
Done Inline ActionsYes, there is _thr_testcancel() already, I I risk completely blow my head if I would also start renaming unrelated functions. I could use _Tthr prefix for all new symbols, but this was too late in the patch, and _thr is more traditional for libthr, so I decided to not go too deep. kib: Yes, there is _thr_testcancel() already, I I risk completely blow my head if I would also start… |
Is there a reason that some of these start with _Tthr instead of _thr?