Jump to content
Excelsior Forums
Sign in to follow this  
faresz

Modula 2 Threads, Processes, Timer

Recommended Posts

I have to make a text based application in modula 2 under linux.

The program should show the time in the screen. In the main loop i wait key pressing.

I use the Window module. In the xds/def/xds directory i found Threads.def, but there is no Threads.sym in the xds/sym directory. I compile the def file. and then try to link with gcc (libxds.a and libts.a). then i got the error message: "undefined reference to Threads_CreateThread".

Why is not in libxds.a the Threads module?

Or what is the solution ?

Share this post


Link to post
Share on other sites

I have the solution!  :)

unix signals

There is in the unistd.def an alarm procedure, that raise a SIGALRM signal, and int the signal handler, i call again the alarm procedure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×