Pradeep Chandran wrote:
14 Sep 2006 23:45:44 -0700, "Mr_Nayak" <anoop.nayak@gmail.com>
wrote:
>Dave wrote:
>Wed, 13 Sep 2006 02:58:07 -0700, Mr_Nayak wrote:
>>
>Since there is no semaphore objects in SEK , i need to create
>it for my task.
>>
>SEK/VDX is an industry standard specification. Look in the 2.2.3 spec
>under resource management, Sections 8 and 13.4 (DeclareResource(),
>GetResource(), and ReleaseResource() ).
>>
>Dave i am aware of the Resource concept in SEK . I am writing some
>adapters where i have to have some semaphores according to some
>standard.
>
Fixed top posting. Please see
Since you are aware of the Resource concept in SEK, I believe you
would be able to use Resources to control access to, well, resources.
Since you need to implement semaphores according to 'some standard', I
suggest that you check if the requirements of 'some standard' are
compatible with the facilities of SEK.
Section 1.1 of SEK specification 2.2.3 makes it very clear that SEK
intentionally left out support of dynamic generation of system
objects. S specifications like PSIX allow dynamic generation
of system objects. If you want something like that in your adapters,
it would be best to look for an S *not* based on SEK. You could add
such features to an SEK implementation. However, doing so would very
likely be a lot more difficult, error prone and expensive than using
an S that directly supports those features.
Have a nice day,
Pradeep
All opinions are mine and do not represent the views or
policies of my employer.
R Pradeep Chandran rpc AT pobox DT com
HI Pradeep,
Thanks for the reply. As you said SEK doesnt support dynamic creation
of objects i am facing the problem. You might be knowing that it wont
support malloc and everything should be static. What i need to do is
write some wraper above the SEK which will make sure that my
application which is independent of S should work. So i dont have a
chance of opting other S. Anyways thanks for the reply.
Anoop