I have compiled some C code from the Internet (sqlite) which uses UNIX
mutex functions for multithreading. I know that COBOL doesn't really
support multithreading, but this is a generic library which does. My COBOL
test job kept abending with an S0C6. I was going a bit nuts. But then I
actually read up a bit on the pthread_mutex... calls (what a concept -
RTFM!). And discovered that they listed a dependency of POSIX(ON). So I
tried the same code, but put in POSIX(ON) in the EXEC. And it ran OK. Well,
it didn't really _do_ anything, but it didn't blow up either.

Question: Has anybody out there done _anything_ in COBOL with POSIX(ON)?
And have you had any problems? Just paranoid. The FM does talk about it and
says where it is needed. But some experiences would be nice to know about.

-- 
As of next week, passwords will be entered in Morse code.

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to