SEMAPHORE PART-1 USE OF WAIT_UNTIL() FUNCTION , TIME BASED LOCKING + SEMAPHORE SIGNAL BASED LOCKING IMPLEMENTATION SEMAPHORE BASIC PART 1 USE AND APK JAYDEEP SHAH--radhey04ec@gmail.com
Revision 1:e0e8a1a599d9, committed 2020-07-12
- Comitter:
- radhey04ec
- Date:
- Sun Jul 12 07:58:34 2020 +0000
- Parent:
- 0:a8abf59930e4
- Commit message:
- FINAL COMMIT OF SEMAPHORE PART1; WAIT_UNTIL() USE; ;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jul 12 07:53:33 2020 +0000 +++ b/main.cpp Sun Jul 12 07:58:34 2020 +0000 @@ -1,12 +1,8 @@ -//USE OF PRINTF() STATEMENT IN MBED WITH ISR - -//method : semaphore - -/* NOTE : PRINTF() IS PART OF STDIO.H LIBRARY -AND THIS LIBRARY PROTECTED BY MUTEX GUARD, SO YOU CAN NOT CALL PRINTF() FROM -ISR FUNCTION. -SIMPLE WAY IS USE SOMETYPE OF SIGNAL OR FLAG AND PRINTF() OUTSIDE ISR depends on -flag and signal */ +/*SEMAPHORE PART 1 +USE OF WAIT_UNTIL() FUNCTIONS IN SEMAPHORE +TIME BASED LOCKING + SEMAPHORE SIGNAL BASED LOCKING +THIS PROGRAM IS FOR CLEARING CONCEPT OF TIME BASED SIGNALING OF SEMAPHORE +*/ //USE SERIAL TERMINAL WITH 9600 BAUD RATE 8-N-1 FORMAT