# Synchronization Tasks

Task Summary

Owner

BAutoLock

Jeremy Rand

BLocker

Jeremy Rand

Task Details

BAutoLock Class

BAutolock(BLocker *lock);

BAutolock(BLocker &lock);

BAutolock(BLooper *looper);

~BAutolock();

bool IsLocked();

BLocker Class

BLocker();

BLocker(const char *name);

BLocker(bool benaphore_style);

BLocker(const char *name, bool benaphore_style);

BLocker(const char *name, bool benaphore_style, bool);

virtual ~BLocker();

bool Lock(void);

status_t LockWithTimeout(bigtime_t timeout);

void Unlock(void);

thread_id LockingThread(void) const;

bool IsLocked(void) const;

int32 CountLocks(void) const;

int32 CountLockRequests(void) const;

sem_id Sem(void) const;

Legend

| Functional Spec
| Use Cases
| Unit Tests
| Technical Spec
| Implementation
| Completed

The OpenBeOS project is hosted by:

Copyright © 2001-2002 OpenBeOS Project