[haiku-commits] Re: haiku: hrev45507 - src/add-ons/kernel/network/notifications

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 23 Apr 2013 10:55:40 +0200

On 04/22/2013 12:08 PM, "Axel Dörfler" wrote:
Alternatively, one could enhance the generic syscall mechanism to be able to
load the module providing the API on the fly, so that that one could then take
care of registering the service in case the network stack is not loaded. This
would allow to completely decouple the needs of userland applications, and the
network stack.

Indeed, this sounds like a nice solution. Instead of a function pointer the syscall could be invoked via a new module operation instead. This would safe the trouble of having to deal with a function pointer that my change when the module is reloaded.

CU, Ingo

Other related posts: