equal
deleted
inserted
replaced
743 void SuspendPendingThread(DThread* aThread); |
743 void SuspendPendingThread(DThread* aThread); |
744 void RemovePendingThread(DThread* aThread); |
744 void RemovePendingThread(DThread* aThread); |
745 void ChangePendingThreadPriority(DThread* aThread, TInt aNewPriority); |
745 void ChangePendingThreadPriority(DThread* aThread, TInt aNewPriority); |
746 void WakeUpNextThread(); |
746 void WakeUpNextThread(); |
747 public: |
747 public: |
748 TInt Wait(); |
748 TInt Wait(TInt aTimeout=0); // 0 means wait forever, -1 means poll, n>0 means n nanokernel ticks |
749 void Signal(); |
749 void Signal(); |
750 void Reset(); |
750 void Reset(); |
751 public: |
751 public: |
752 TInt iHoldCount; // number of times held by current thread |
752 TInt iHoldCount; // number of times held by current thread |
753 TInt iWaitCount; // number of waiting threads |
753 TInt iWaitCount; // number of waiting threads |