comp.lang.ada
 help / color / mirror / Atom feed
* Program_Error from library level task declaration...
@ 1996-07-27  0:00 Dale Stanbrough
  1996-07-30  0:00 ` Theodore E. Dennison
  0 siblings, 1 reply; 3+ messages in thread
From: Dale Stanbrough @ 1996-07-27  0:00 UTC (permalink / raw)



Hi,

I've tried to create a library level semaphore to be used
for screen locking. The semaphore is the standard implementation
using a task (yes, I know a protected object would be better).

The declaration is...

with semaphores; use semaphores;
package screen_lock is

        screen:semaphore;

end screen_lock;


with screen_lock;
procedure main is
begin
	null;
end;

However this causes a program_error. I'm at a bit of a loss as
to how to fix this. Does anyone have any bright ideas?

Dale




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-31  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-27  0:00 Program_Error from library level task declaration Dale Stanbrough
1996-07-30  0:00 ` Theodore E. Dennison
1996-07-31  0:00   ` Robert A Duff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox