diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-21 11:32:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-21 11:32:31 +0000 |
commit | 22fe505a817d26c5b88dae4f602b658498a8a18e (patch) | |
tree | 116bcfab560251aaa9af8cd0d581e54470f63c1b /docs/src/atomic.dox | |
parent | 12721da8ad78b13eff38169f59ebbc4db97bfd2b (diff) | |
download | ChibiOS-22fe505a817d26c5b88dae4f602b658498a8a18e.tar.gz ChibiOS-22fe505a817d26c5b88dae4f602b658498a8a18e.tar.bz2 ChibiOS-22fe505a817d26c5b88dae4f602b658498a8a18e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@655 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'docs/src/atomic.dox')
-rw-r--r-- | docs/src/atomic.dox | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/src/atomic.dox b/docs/src/atomic.dox index 22601d8d9..144d6bca0 100644 --- a/docs/src/atomic.dox +++ b/docs/src/atomic.dox @@ -12,17 +12,13 @@ chSemSignalI(&sem1);
chSemSignalI(&sem2);
- if (tp != NULL) {
- chThdResumeI(tp);
- tp = NULL;
- }
chSchRescheduleS();
chSysUnlock();
* @endcode
- * The above example performs a signal operation on two semaphores, optionally
- * resumes a thread, and performs a final reschedulation. The three operations
- * are performed atomically.<br>
+ * The above example performs a signal operation on two semaphores and
+ * performs a final reschedulation. The two operations are performed
+ * atomically.<br>
* An hypotetical @p chSemSignalSignalWait() operation could be implemented as
* follow:
* @code
|