[C++] Emulator of POSIX Socket for Carbon and Classic

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Mar 16 11:10:38 CST 2003


on 3/16/03 10:27 AM, Andreas Grosam at agrosam at computerworks.ch wrote:

>>> When running a client exclusively on one machine, there *might* arise some
>>> other subtle problems, too. These can be most likely fixed, however.
>>> 
>>> Nevertheless, I don´t think that this will all work now seamlessly in Carbon
>>> running on MacOS X.
>>> 
>>> So again, please address Mathias Neeracher - I guess he can help you.
>>> GUSI is now "Sorgeforged" - you can find all infos there.
>> 
>> Yes I have see. And what impress me as always in open source project
>> -- silent in development last months
>> -- they even not include changes for Carbon made by MacPhyton guys.
>> -- version from macPhyton has carbon but is OLDER of version from
>> Sourceforge...
>> 
>> Haose ...
> 
> 
> Yes, too bad...
> 
> Nevertheless, my feeling is that for a client, GUSI is probably the better
> choice. For Carbon on MacOS 9 - this should work. In MacOS X -- I don´t know.

Well, it looks it works.
At least as REALbasic plugin which single thread strictly.

On some reason, in simplest Carbon Console app it crashes.
And it crashes not in my thread.
Funny is that this console app on default have 5(!!!) threads.
Totte, do you know why ?

And note, Carbon target have sense only if it run on both MAcOS 9 and OS X.
Because do not forget, REALBasic plugin also have Classic version, which run
on MacOS 8 - 9.

> But we should look forward: on MacOS X, Mach-0 binaries shall be available,
> soon. Then this issue will disappear. So, don't spend too mutch time on
> something which is almost dead ;)

What means Macho binaries?!

> One problem still exist, however: Carbon is not re-entrant - as a Mach-O too.
> So, using the POSIX API with preemptive threads might be difficult. Currently,
> I do not have an idea how to cope with this.

But in Carbon target you cannot use preemptive threads!
Only in Mach-O targets. So no problems.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list