self1.c

来自「cygwin, 著名的在win32下模拟unix操作系统的东东」· C语言 代码 · 共 27 行

C
27
字号
/* * self1.c * * Test for pthread_self(). * * Depends on API functions: *	pthread_self() * * Implicitly depends on: *	pthread_getspecific() *	pthread_setspecific() */#include "test.h"intmain(int argc, char * argv[]){	/*	 * This should always succeed unless the system has no	 * resources (memory) left.	 */	assert(pthread_self() != NULL);	return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?