For the particular case, if I understand correctly, it used to be the case that any functions that are implemented as NIFs have a stub in the .erl source file that throws an exception (if that code was really executed instead of the low level implementation). Is prim_inet:async_acceptor a NIF without such a stub?
On Sep 12, 2012, at 5:48 PM, Stavros Aronis wrote:
> Not really.
> For the particular case, if I understand correctly, it used to be the case that any functions that are implemented as NIFs have a stub in the .erl source file that throws an exception (if that code was really executed instead of the low level implementation). Is prim_inet:async_acceptor a NIF without such a stub?
On Wed, Sep 12, 2012 at 6:03 PM, Zabrane Mickael <zabra...@gmail.com> wrote:
> On Sep 12, 2012, at 5:48 PM, Stavros Aronis wrote:
> Not really.
> For the particular case, if I understand correctly, it used to be the case
> that any functions that are implemented as NIFs have a stub in the .erl
> source file that throws an exception (if that code was really executed
> instead of the low level implementation). Is prim_inet:async_acceptor a NIF
> without such a stub?
> OTP guys?
> Regards,
> Zabrane
> Regards,
> Stavros
> On Wednesday, September 12, 2012 3:59:23 PM UTC+2, Zabrane Mickael wrote:
>> Hi guys, Hi Kostis,
>> Dialyzer (R15B02, OSX 10.7.4) returns this:
>> pimco_net.erl:146: Call to missing or unexported function
>> prim_inet:async_acceptor/2
>> Is there a way to tell Dialyzer to simply ignore this warning (and any
>> other one coming from "prim_inet") ?
>> Thanks
> Have you misspelled prim_inet:async_accept/2 in the mail or also in the source?
> Lukas
> On Wed, Sep 12, 2012 at 6:03 PM, Zabrane Mickael <zabra...@gmail.com> wrote:
>> On Sep 12, 2012, at 5:48 PM, Stavros Aronis wrote:
>> Not really.
>> For the particular case, if I understand correctly, it used to be the case
>> that any functions that are implemented as NIFs have a stub in the .erl
>> source file that throws an exception (if that code was really executed
>> instead of the low level implementation). Is prim_inet:async_acceptor a NIF
>> without such a stub?
>> OTP guys?
>> Regards,
>> Zabrane
>> Regards,
>> Stavros
>> On Wednesday, September 12, 2012 3:59:23 PM UTC+2, Zabrane Mickael wrote:
>>> Hi guys, Hi Kostis,
>>> Dialyzer (R15B02, OSX 10.7.4) returns this:
>>> pimco_net.erl:146: Call to missing or unexported function
>>> prim_inet:async_acceptor/2
>>> Is there a way to tell Dialyzer to simply ignore this warning (and any
>>> other one coming from "prim_inet") ?
>>> Thanks