Re(2): Proper time to thread?
Re(2): Proper time to thread?
- Subject: Re(2): Proper time to thread?
- From: Duane Murphy <email@hidden>
- Date: Fri, 31 May 2002 14:58:19 -0700
--- At Fri, 31 May 2002 23:39:19 +0200, Jens Bauer wrote:
>
Hi Peter and Quinn,
>
>
>To be honest, I was skeptical of the BSD threaded blocking model
>
>at first. It can't possibly offer the same raw speed as the
>
>interrupt driven notifiers of Open Transport because you have
>
>to wait for the kernel to get around to scheduling your thread.
>
>
This is something I've been thinking about for a while!
>
>
It's possible to use the interrupt-model with Open Transport.
>
+ Open Transport was built on top of BSD.
>
= It must (somehow) be possible to make the same kind of interrupts with
BSD ?
>
>
I don't really know how to form the words; but what I'm trying to say is
>
that it should be possible to do a non-threading interrupt-triggered
>
event-handler.
>
>
Maybe this requires modification of the kernel, but let's see, if Open
>
Transport lives in Carbon-space, it would be outside the kernel, and this
>
means it'd be fully possible to implement, even for a developer not
>
working at Apple.
>
>
I like the speed of the notifiers, I like the simplicity of BSD sockets;
>
could we combine them, then I'd be very happy. =)
>
>
(Am I all wrong in my assumption ?)
You are all wrong in your assumption. Open Transport on X does not do
real interrupt driven events. They are entirely simulated. Underneath its
just threads and sockets.
...Duane Murphy
Efficient Networks, Inc.
<
http://www.efficient.com/>
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.