yate学习--yateclass.h--class YATE_API Runnable
2015-04-30 11:08
281 查看
请注明转载地址:http://blog.csdn.net/u012377333/article/details/45392285
这个yate里面的所有线程的基类:
这个yate里面的所有线程的基类:
/** * This class holds the action to execute a certain task, usually in a * different execution thread. * 这个类用于保存执行一个特定任务的动作,一般在不同的执行线程 * @short Encapsulates a runnable task * @short 封装了一个可运行的任务 */ class YATE_API Runnable { public: /** * This method is called in another thread to do the actual job. * 在另一个线程调用此方法来做实际的工作。 * When it returns the job or thread terminates. * 当它返回工作或线程终止。 */ virtual void run() = 0; /** * Do-nothing destructor, placed here just to shut up GCC 4+ */ virtual ~Runnable(); };
相关文章推荐
- yate学习--yateclass.h--class YATE_API Thread : public Runnable
- yate学习--yateclass.h--class YATE_API NamedString : public String
- yate学习--yateclass.h--class YATE_API SocketAddr : public GenObject
- yate学习--yatengine.h--class YATE_API MessageReceiver : public GenObject
- yate学习--yateclass.h--class YATE_API GenObject
- yate学习--yateclass.h--class YATE_API Socket : public Stream
- yate学习--yateclass.h--class YATE_API NamedList : public String
- yate学习--yateclass.h--class YATE_API NamedCounter : public String
- yate学习--yateclass.h--class YATE_API ObjList : public GenObject
- yate学习--yatesip.h--class YSIP_API SIPParty : public RefObjec
- yate学习--yatesip.h--class YSIP_API SIPMessage : public RefObject
- yate学习--yateclass.h--class YATE_API Stream
- yate学习--yateclass.h--class YATE_API Lockable
- yate学习--yatengine.h--class YATE_API Configuration : public String
- gradle学习二 利用javassist api修改class字节码
- yate学习--yateclass.h--class YATE_API DebugEnabler
- yate学习--yateclass.h--class YATE_API RefObject : public GenObject
- jqueryAPI学习之add(),addBack(),addClass(),after()学习
- API之Class学习
- ActivityManager API学习