Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 297 Bytes

learn-thread.md

File metadata and controls

7 lines (5 loc) · 297 Bytes

Thread

int pthread_create(pthread_t *newthread, const pthread_attr_t *attr, void *( *start_routine) (void *), void *arg);
  • Create a new thread, starting with execution of START-ROUTINE getting passed ARG.
  • Creation attributed come from ATTR.
  • The new handle is stored in *NEWTHREAD.