[erlang-questions] Linked-in drivers: driver_lock_driver and driver_create_port

Tony Rogvall tony@REDACTED
Sun Dec 16 00:04:11 CET 2007



On 15 dec 2007, at 20.16, Joel Reymont wrote:

>
> On Dec 15, 2007, at 3:25 PM, Tony Rogvall wrote:
>
>> Now the listener will create the port and install the descriptor  
>> and pass the new
>> port to the erlang side and no locking is involved on the driver  
>> level.
>
>
> So this is useful for drivers that deal with lots of file  
> descriptors or network connections and want to let Erlang access  
> them? Right?

Not generally, No.

But for kernel calls that create file descriptors, yes.

/Tony


>
>
> 	Thanks, Joel
>
> --
> http://wagerlabs.com
>
>
>
>
>




More information about the erlang-questions mailing list