~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/barriers.rst

  • Committer: kalebral at gmail
  • Date: 2010-12-04 04:58:08 UTC
  • mto: (1971.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1972.
  • Revision ID: kalebral@gmail.com-20101204045808-acto22oxfg43m02e
a few more updates of files that did not have license or had incorrect license structure

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
SELECT signal();
13
13
 
14
14
A barrier is a synchronization objest which can be used to syncronize a
15
 
group of sessions to a specific rendezvous by calling wait(). When wait() is called,
16
 
any session of the user may call signal(), allowing all sessions being held by wait() to proceed. 
 
15
group of session to a specific rendezvous by calling wait(). At which point
 
16
any session of the user may call signal() and all sessions being held by wait() are allowed to proceed. 
17
17
 
18
 
Barriers can optionally be created with a limit so that once a set number of sessions have called wait() that all "waiters" are then allowed to proceed. 
 
18
Barriers can optional be created with a limit so that once a set number of sessions have called wait() that all "waiters" are then allowed to proceed. 
19
19
 
20
20
The session that creates the barrier via create_barrier() is not allowed to
21
21
call either wait() or wait_until().