<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You can upgrade a NIF library in the same way<br>
you upgrade an Erlang module. The upgraded Erlang code<br>
just have to call erlang:load_nif/2 for the NIF library that it<br>
wants to use.<br>
<br>
However, you may need to place the new NIF library in a different<br>
path or give it a different file name, otherwise the OS (dlopen)<br>
may think you are loading the same library again.<br>
<br>
/Sverker, Erlang/OTP Ericsson<br>
<br>
<br>
<div class="moz-cite-prefix">On 10/19/2015 10:05 AM, Caragea Silviu
wrote:<br>
</div>
<blockquote
cite="mid:CAJsc=osn2NUNGkZnSfC=oVgXpMqOhSG05fdQRQThe6yxccXvVQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
It is possible to reload a nif library ? <br>
<br>
</div>
For example I have an app using NIF and after I'm doing some
changes over the native code I want to reload the new
library in production without restarting the server..<br>
<br>
</div>
I succeeded to reload the erlang code but seems it's still
using the oldest NIF.<br>
<br>
</div>
Silviu<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>