zoukankan      html  css  js  c++  java
  • class threading.Thread()说明: 清明

    class threading.Thread()说明:

     

    class threading.Thread(group=None, target=None, name=None, args=(), kwargs={})

    This constructor should always be called with keyword arguments. Arguments are:

      group should be None; reserved for future extension when a ThreadGroup class is implemented.

      target is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called.

      name is the thread name. By default, a unique name is constructed of the form “Thread-N” where N is a small decimal number.

      args is the argument tuple for the target invocation. Defaults to ().

      kwargs is a dictionary of keyword arguments for the target invocation. Defaults to {}.

    If the subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing 

    anything else to the thread.

  • 相关阅读:
    软件工程基础之二——阅读《软件工程基础》的问题
    软件工程基础之一——个人介绍与计划
    个人介绍
    sudoku
    GitHub地址
    疑问②
    概览提问①
    jsp内置对象
    tomcat的环境变量配置
    构造方法的重载代码
  • 原文地址:https://www.cnblogs.com/saryli/p/4105977.html
Copyright © 2011-2022 走看看