传递给线程函数的参数。
这通常意味着从SPE的本地存储中拷贝参数,在用户线程中运行各自的库函数,并通过再次调用ioctl继续执行。
This usually means copying the arguments over from the spe local store, running the respective library function in the user thread, and continuing by calling the ioctl again.
顾名思义,_ beginthread函数可以创建一个执行例程的线程,其中将指向该例程的指针作为第一个参数。
As the name suggests, the _beginthread function creates a thread that executes the routine, where the pointer to that routine is specified as the first argument.
这个函数与pthread_cond_wait相似,但是第三个参数是绝对时间值,到达这个时间时读线程自愿放弃等待。
This function is similar to pthread_cond_wait, except that the third argument is the absolute time value until which the reader thread is willing to wait before it gives up.
pthread_create库调用的start_address参数是刚创建的线程要执行的函数的地址。
The parameter start_address for the Linux library call pthread_create is the address of the function that the newly created thread will execute.
函数pthread_cond_wait主要就是用于阻塞线程的,它有两个参数;第一个是一个指向条件变量的指针,第二个是一个锁定了的互斥量。
The function primarily used for this is pthread_cond_wait . It takes two arguments; the first is a pointer to a condition variable, and the second is a locked mutex.
要预防此类攻击,接受连接的线程应该不时地通过调用getsockopt()函数(选项参数为SO_CONNECT_TIME)来检查AcceptEx()里守候的套接字。
To prevent malicious attacks or stale connections, the accepting thread should occasionally check the sockets outstanding in AcceptEx by calling getsockopt and SO_CONNECT_TIME.
这个类的构造函数可以带有可选的优先级参数和释出(release)参数,以此来定义JVM如何调度线程。
The constructor of this class takes optional priority and release parameters to define how the JVM should schedule the thread.
在长时间运行的程序中,最好创建一个Timer守护线程(使用带有指示守护线程状态的参数的构造函数),从而它不会让VM活动。
In a long-running program, the Timer is probably best created as a daemon thread (using the constructors that take a Boolean parameter to indicate daemon status), so it won't keep the VM alive.
可以让多个线程使用同一个子函数,但是它们的参数不同,从而使每个线程的执行结果也不同。
Each thread executes the same subroutine, but in a separate thread with a separate environment and potentially separate arguments.
函数在此参数中接收的值是在创建线程对象时传递到构造函数的值。
The value the function receives in this parameter is the value that was passed to the constructor when the thread object was created.
讨论了实时线程和无堆实时线程的构造函数的实现语法和各个参数代表的意义,还给出了实时线程的一些主要方法。
It discussed the syntax of the constructors of the RealTimethread and the NoHeapRealTimethread and discussed each parameter 's meaning of the constructor and gave some methods of the RealTimethread.
讨论了实时线程和无堆实时线程的构造函数的实现语法和各个参数代表的意义,还给出了实时线程的一些主要方法。
It discussed the syntax of the constructors of the RealTimethread and the NoHeapRealTimethread and discussed each parameter 's meaning of the constructor and gave some methods of the RealTimethread.
应用推荐