Mail Archives: djgpp/2000/02/11/11:44:07
Alain Magloire wrote:
> Well technically, according to what Eli already said, all system calls or any that
> is a DOS
> call in not reentrant. And since the C lib was not implemented with MT in mind I
> suspect
> a healthy chunck is using globals and static vars and handling signals etc ..
Agreed, the further one looks the larger the issue gets. The solution is a for a
PC-supervisor
which should serialise DOS access of which there would be several methods of
implementation
from s/w int chaining to replacing the system calls. For true real-time the
supervisor would also
need to shield the debugger from reentrant DOS calls (ie during break points any
current DOS
calls would need complete prior to passing contol to the debugger). As for other
standard library
functions BSD source rates high.
The driving force behide the questioning is whether DJGPP would be possible
environment for
Real time development, there is no simple answer. As i386 compiler I would say
yes, but the runtime
environment needs work.
- Raw text -