operating-system


Semaphore under uCOS-III


I use uCOS-III under Arm Cortex M4 and have the following problem:
If OSSemPend() is executed twice within the same task), like
timeout = 100; /* 0.1 s */
OSSemPend(rtos_sem_p, timeout, OS_OPT_PEND_BLOCKING, NULL, &err);
...
OSSemPend(rtos_sem_p, timeout, OS_OPT_PEND_BLOCKING, NULL, &err);
...
(without issuing OSSemPost()) it will not run into the timeout at the second call but block infinitely.
I checked what I can, but still cannot find the problem...
Can anybody explain me what happens here?
Many Thanks,
Michael

Related Links

How BIOS boot from floppy and CD-ROM differently?
OS Booting Issue
Apply Password to Folder in Directory D:\myFolder
BSD for the NXT
How locks are implemented on multiple cores
boot loader's size
A question about Device drivers & Kernel
What are the factors by which virtual memory is limited?
Hardware supported OS functions
Multicores and mulithreads
default sound for javascript alert() box
What is an Operating System (with respect to embedded systems)? [closed]
Why isn't every OS real-time?
Does disabling interrupt automatically disable CPU scheduling?
Which OS will be the best subsitute for the Microsoft Windows XP/7 [closed]
about hardware drivers in protected mode

Categories

HOME
rust
nam
dronekit-python
moodle-api
elk-stack
dji-sdk
stack-overflow
circleci
feature-extraction
google-awareness
dma
texas-instruments
supervisord
susy-sass
nullreferenceexception
opam
backtracking
intel
eclipse-emf
firemonkey-style
plyr
msdeploy
adapter
amazon-cloudtrail
laravel-4.2
d3.js-v4
series
xcrun
advanced-filter
adminer
cmis
nsuserdefaults
code-rally
variable-variables
sspi
opal-framework
react-intl
ipp-protocol
gcal
adblock
lightning-workbench
iptv
maven-jaxb2-plugin
sequence-diagram
android-mediarecorder
popen
mobile-angular-ui
case-when
business-rules
finder
maatwebsite-excel
nvda
fragmentstatepageradapter
timestamping
vaadin4spring
swiffy
i2b2
certificate-authority
lowercase
supersocket.net
replicaset
fuseesb
azure-xplat-cli
html-escape-characters
debug-symbols
google-hangouts
juttle
symja
rubber
wicket-1.5
mod-perl
pbkdf2
unrealscript
disjoint-union
lru
pacman
contextswitchdeadlock
dojo-1.9
ip-geolocation
gitx
coordinate
pageheap
struts2-s2hibernate
wcf-callbacks
boost-foreach
vows
fork-join
mediacontroller
printqueue
ixmldomdocument
comment-conventions

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App