如果对未暂挂的 pthread 调用pthread_continue_np,那么 pthread 保持不变,并且pthread_continue_np返回成功。 暂挂的 pthread 不会被信号唤醒。 该信号将保持暂挂状态,直到pthread_continue_np恢复执行 pthread 为止。 注:使用pthread_suspend_np仅应由高级用户使用,因为不正确使用此子命令可能会导致应用程...
A suspended pthread will not be awakened by a signal. The signal stays pending until the execution of pthread is resumed bypthread_continue_np. Note:Usingpthread_suspend_npshould only be used by advanced users because improper use of this subcommand can lead to application deadlock or ...
A suspended pthread will not be awakened by a signal. The signal stays pending until the execution of pthread is resumed bypthread_continue_np. Note:Usingpthread_suspend_npshould only be used by advanced users because improper use of this subcommand can lead to application deadlock or...
threadによって指定された pthread の実行を中断し、再開します。 ライブラリー スレッド・ライブラリー (libpthreads.a) 構文 #include <pthread.h>pthread_tthread;int pthread_suspend_np(thread)int pthread_unsuspend_np (thread);int pthread_continue_np(thread); ...
pthread_suspend_np가 다음 pthread 함수와 함께 사용되는 경우 교착 상태가 발생할 수 있습니다. pthread_getrusage_np pthread_cancel pthread_detach pthread_join pthread_getunique_np pthread_join_np ...
Biblioteca de encadeamentos (libpthreads.a) Sintaxe #include <pthread.h>pthread_tthread;int pthread_suspend_np(thread)int pthread_unsuspend_np (thread);int pthread_continue_np(thread); Descrição A subroutinepthread_suspend_suspend_npsuspende imediatamente a execução do pthread ...
Bibliothèque d'unités d'exécution (libpthreads.a) Syntaxe #include <pthread.h>pthread_tthread;int pthread_suspend_np(thread)int pthread_unsuspend_np (thread);int pthread_continue_np(thread); Descriptif La sous-routinepthread_suspend_npinterrompt immédiatement l'exécution du pthread s...
#include <pthread.h>pthread_tthread;int pthread_suspend_np(thread)int pthread_unsuspend_np (thread);int pthread_continue_np(thread); Beschreibung Die Subroutinepthread_suspend_npsetzt die Ausführung des mitthreadangegebenen pthread sofort aus. Bei einer erfolgreichen Rückgabe vonpthread_su...
Suspendey reanudala ejecución del pthread especificado porthread. Biblioteca Biblioteca de hebras (libpthreads.a) Sintaxis #include <pthread.h>pthread_tthread;int pthread_suspend_np(thread)int pthread_unsuspend_np (thread);int pthread_continue_np(thread); ...
suspendstate屬性會控制是否以暫停狀態建立執行緒。 如果建立執行緒已暫停,則在執行緒上執行pthread_continue_np之前,不會執行執行緒啟動常式。 分別為pthread_attr_setsuspendstate_np及pthread_attr_getsuspendstate_np常式,設定並取得attr物件中的suspendstate屬性。