~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/prmon.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
*/
109
109
NSPR_API(PRStatus) PR_NotifyAll(PRMonitor *mon);
110
110
 
 
111
/*
 
112
** PR_ASSERT_CURRENT_THREAD_IN_MONITOR
 
113
** If the current thread is in |mon|, this assertion is guaranteed to
 
114
** succeed.  Otherwise, the behavior of this function is undefined.
 
115
*/
 
116
#if defined(DEBUG) || defined(FORCE_PR_ASSERT)
 
117
#define PR_ASSERT_CURRENT_THREAD_IN_MONITOR(/* PRMonitor* */ mon) \
 
118
    PR_AssertCurrentThreadInMonitor(mon)
 
119
#else
 
120
#define PR_ASSERT_CURRENT_THREAD_IN_MONITOR(/* PRMonitor* */ mon)
 
121
#endif
 
122
 
 
123
/* Don't call this function directly. */
 
124
NSPR_API(void) PR_AssertCurrentThreadInMonitor(PRMonitor *mon);
 
125
 
111
126
PR_END_EXTERN_C
112
127
 
113
128
#endif /* prmon_h___ */