equal
deleted
inserted
replaced
2486 IMPORT_C TInt OpenGlobal(const TDesC& aName,TOwnerType aType=EOwnerProcess); |
2486 IMPORT_C TInt OpenGlobal(const TDesC& aName,TOwnerType aType=EOwnerProcess); |
2487 IMPORT_C TInt Open(RMessagePtr2 aMessage,TInt aParam,TOwnerType aType=EOwnerProcess); |
2487 IMPORT_C TInt Open(RMessagePtr2 aMessage,TInt aParam,TOwnerType aType=EOwnerProcess); |
2488 IMPORT_C TInt Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess); |
2488 IMPORT_C TInt Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess); |
2489 IMPORT_C void Wait(); |
2489 IMPORT_C void Wait(); |
2490 IMPORT_C TInt Wait(TInt aTimeout); // timeout in microseconds |
2490 IMPORT_C TInt Wait(TInt aTimeout); // timeout in microseconds |
|
2491 IMPORT_C TInt Poll(); // acquire the semaphore if possible, but don't block |
2491 IMPORT_C void Signal(); |
2492 IMPORT_C void Signal(); |
2492 IMPORT_C void Signal(TInt aCount); |
2493 IMPORT_C void Signal(TInt aCount); |
2493 #endif |
2494 #endif |
2494 }; |
2495 }; |
2495 |
2496 |
2509 { |
2510 { |
2510 public: |
2511 public: |
2511 inline RFastLock(); |
2512 inline RFastLock(); |
2512 IMPORT_C TInt CreateLocal(TOwnerType aType=EOwnerProcess); |
2513 IMPORT_C TInt CreateLocal(TOwnerType aType=EOwnerProcess); |
2513 IMPORT_C void Wait(); |
2514 IMPORT_C void Wait(); |
|
2515 IMPORT_C TInt Wait(TInt aTimeout); // timeout in microseconds |
|
2516 IMPORT_C TInt Poll(); // acquire the lock if possible, but don't block |
2514 IMPORT_C void Signal(); |
2517 IMPORT_C void Signal(); |
2515 private: |
2518 private: |
2516 TInt iCount; |
2519 TInt iCount; |
2517 }; |
2520 }; |
2518 |
2521 |