From: Andrew Shvets <andrew.shvets@gmail.com>
Subject: How to simulate semaphores with Ada's tasks?
Date: Wed, 24 Aug 2016 17:41:16 -0700 (PDT)
Date: 2016-08-24T17:41:16-07:00 [thread overview]
Message-ID: <35ae841e-5947-44e9-a8d4-479cf40c4277@googlegroups.com> (raw)
From what I've read, tasks do not have semaphores that can permit it to lock a piece of memory and prevent it from being accessed, is this correct?
If so, then the best possible way to simulate this is to have tasks send messages to one another and synchronize when something is locked/unlocked. Is there a better approach?
next reply other threads:[~2016-08-25 0:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-25 0:41 Andrew Shvets [this message]
2016-08-25 1:04 ` How to simulate semaphores with Ada's tasks? Jeffrey R. Carter
2016-08-25 1:44 ` Andrew Shvets
2016-08-27 21:36 ` Andrew Shvets
2016-08-28 1:04 ` Jeffrey R. Carter
2016-08-28 1:59 ` Andrew Shvets
2016-08-25 7:39 ` Dmitry A. Kazakov
2016-08-27 18:06 ` Andrew Shvets
2016-08-25 7:55 ` G.B.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox