]> granicus.if.org Git - libevent/commitdiff
doc: fix typo in thread.h
authorfanquake <fanquake@gmail.com>
Mon, 20 Jul 2020 13:59:10 +0000 (21:59 +0800)
committerfanquake <fanquake@gmail.com>
Mon, 20 Jul 2020 13:59:10 +0000 (21:59 +0800)
s/evthred_use_pthreads_with_flags/evthread_use_pthreads_with_flags/

include/event2/thread.h

index 75dbfa1d8f9788bc79f5b5e48cece26a61b6d246..519b4d30a08962878cb31daeca1f7e9166d0a03c 100644 (file)
@@ -218,7 +218,7 @@ int evthread_use_pthreads(void);
 
 /**
  * Sets up Libevent for use with Pthreads locking and thread ID functions.
- * Use evthred_use_pthreads_with_flags() to use Pthreads locking, taking the
+ * Use evthread_use_pthreads_with_flags() to use Pthreads locking, taking the
  * specified flags under consideration.
  *
  * @param flags the flags to apply when setting up Pthreads locking. @see EVTHREAD_PTHREAD_*