They need to be called some time prior to activating the master.  It is not 
necessary to call them earlier than this, but it’s also not harmful to do so 
either (provided that the MCL_FUTURE option was specified).

From: Mohsen Alizadeh Noghani
Sent: Tuesday, 2 October 2018 22:39
To: etherlab-users@etherlab.org
Subject: [etherlab-users] Where should I call mlockall and setpriority in my 
code?

In the example codes, for instance dc_user, mlockall is called after defining 
the slaveconfig and setpriority is called after ecrt_domain_data.
Is there a reason for not calling these functions earlier (for example in the 
first line of main)?
Best,
Mohsen
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to