haiku/docs/develop/ikteam/schedule/supportkit/Synchronization.html
ejakowatz 52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00

689 lines
16 KiB
HTML

<html>
<head>
<title>Synchronization Tasks</title>
</head>
<body>
<h1>Synchronization Tasks<hr></h1>
<!-- summary table -->
<table border>
<!-- table column headers -->
<th>
<table>
<td>
<a href="#legend">
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
</a>
</td>
</table>
</th>
<th><strong>Task Summary</strong></th>
<th><strong>Owner</strong></th>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td width="100%">
BAutoLock
</td>
<!-- owner -->
<td width="25%">
Jeremy Rand
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td width="100%">
BLocker
</td>
<!-- owner -->
<td width="25%">
Jeremy Rand
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
<br>
<!-- detail table -->
<table border>
<!-- table column headers -->
<th>
<table>
<td>
<a href="#legend">
<img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/User.gif" width="22" height="22" alt="Use Cases" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec" border="0">
</a>
</td>
<td>
<a href="#legend">
<img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation" border="0">
</a>
</td>
</table>
</th>
<th width="100%"><strong>Task Details</strong></th>
<!-- <th><strong>Owner</strong></th> -->
<!-- Class header -->
<tr>
<td colspan="7"><center><strong>BAutoLock Class</strong></center></td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BAutolock(BLocker *lock);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BAutolock(BLocker &lock);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BAutolock(BLooper *looper);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
~BAutolock();
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/blank-20.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
bool IsLocked();
</td>
</tr>
<!-- Class header -->
<tr>
<td colspan="7"><center><strong>BLocker Class</strong></center></td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BLocker();
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BLocker(const char *name);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BLocker(bool benaphore_style);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BLocker(const char *name, bool benaphore_style);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
BLocker(const char *name, bool benaphore_style, bool);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
virtual ~BLocker();
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
bool Lock(void);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
status_t LockWithTimeout(bigtime_t timeout);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
void Unlock(void);
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
thread_id LockingThread(void) const;
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
bool IsLocked(void) const;
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
int32 CountLocks(void) const;
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
int32 CountLockRequests(void) const;
</td>
</tr>
<tr>
<td>
<table>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Functional Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Use Cases"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Unit Tests"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Technical Spec"></td>
<td><img src="
../../images/Check.gif
" width="22" height="22" alt="Implementation"></td>
</table>
</td>
<!-- task -->
<td>
sem_id Sem(void) const;
</td>
</tr>
</table>
<br><br>
<hr>
<br><br>
<!-- legend table -->
<a name="legend">
<table border>
<tr>
<td align="center"><strong>Legend</strong></td>
</tr>
<tr>
<td>
<table>
<tr>
<td><img src="../../images/DocumentDraw.gif" width="22" height="22" alt="Functional Spec"></td>
<td>Functional Spec</td>
</tr>
<tr>
<td><img src="../../images/User.gif" width="22" height="22" alt="Use Cases"></td>
<td>Use Cases</td>
</tr>
<tr>
<td><img src="../../images/Help.gif" width="22" height="22" alt="Unit Tests"></td>
<td>Unit Tests</td>
</tr>
<tr>
<td><img src="../../images/Hammer.gif" width="22" height="22" alt="Technical Spec"></td>
<td>Technical Spec</td>
</tr>
<tr>
<td><img src="../../images/GoalFlag.gif" width="22" height="22" alt="Implementation"></td>
<td>Implementation</td>
</tr>
<tr>
<td><img src="../../images/Check.gif" width="22" height="22" alt="Completed"></td>
<td>Completed</td>
</tr>
</table>
</td>
</tr>
</table>
</a>
<br>
<!-- The obligatory SourceForge plug -->
<center>
<small>The OpenBeOS project is hosted by:</small><br><br>
<a href="http://sourceforge.net">
<img src="http://sourceforge.net/sflogo.php?group_id=33869&type=1" width="88" height="31" border="0" alt="SourceForge Logo">
</a>
<p>
<small>Copyright &copy; 2001-2002
<a href="http://www.openbeos.org">OpenBeOS</a> Project</small>
</center>
</body>
</html>