2003-11-11から1日間の記事一覧

pthreadの使い方

c

pthreadについて詳しく書いてあるページがあまり見つからなかったので 簡単にpthreadの使い方をメモします。 int pthread_create(pthread_t * thread, pthread_attr_t * attr, void * (*start_routine)(void *), void * arg); この関数でスレッドを生成しま…