On 2005-01-11, Hans-Joerg Frieden wrote:
Henning Nielsen Lund wrote:
- Check if Operating system provides some basics:
- support of shared libraries
*Check - /With help of the "dlopen/dlclose/dlsym" link library that Hans-Jörg told about do we have this/
Note that this has its limits, mainly because it is impossible to "share" the code (i.e. every opener gets its own local copy). For OOo, this shouldn't be an issue.
As far as I understand the dlsym() interface and the AmigaOS 4 interfaces, it should be quite simple to wrap an Amiga library in a dlsym() work-alike. So we could possibly use the dlsym() interface for everything internally.
*- support for processes, threads, signals, pipes etc. *Check - /With IXEmul and the pthread library made by the Friedens - http://os4depot.net/showfile/?file=development/library/pthread.lha/
If at all, we should avoid using ixemul. It may be useful for the utilities needed to build, but for serious system programming, we should not rely on it.
Agreed. Using ixemul would be like porting to two OS:es at once. Not that ixemul is bad, just that it adds a lot of complexity and overhead which we do not want. If possible, the OOo port should retain as much as possible of the "Amiga Snappiness".
Unfortunately this doesn't say how much of signals are required; clib2 supports most of the basic signals, but not e.g. SIG_ALARM. This warrants more research.
Do not forget the interaction of Posix threads with signals. We might also want to investigate the thread safety of some functions with regard to the _REENTRANT macro.
<SNIP>
-Peter aka. Archprogrammer
Reality is for people who cannot face ScienceFiction. Only lefthanded people are in their right minds.