/** * Initializes a Thread. * * @param g the Thread group * @param target the object whose run() method gets called * @param name the name of the new Thread * @param stackSize the desired stack size for the new thread, or * zero to indicate that this parameter is to be ignored. * @param acc the AccessControlContext to inherit, or * AccessController.getContext() if null * @param inheritThreadLocals if {@code true}, inherit initial values for * inheritable thread-locals from the constructing thread */帮我翻译一下
时间: 2024-02-17 19:21:16 浏览: 374
PID-C.rar_The Process
/**
* 初始化一个Thread。
*
* @param g 线程所属的线程组
* @param target 要调用其run()方法的对象
* @param name 新线程的名称
* @param stackSize 新线程的期望栈大小,或者为零以指示忽略此参数。
* @param acc 要继承的AccessControlContext,如果为null则使用AccessController.getContext()
* @param inheritThreadLocals 如果为true,则从构造线程继承可继承的线程本地变量的初始值。
*/
阅读全文