Remember me

Lost Password?

Register now!


Who's Online
72 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 72


Support us!


Report message:*

Re: Is Forbid() needed for SetMethod()?

Subject: Re: Is Forbid() needed for SetMethod()?
by BSzili on 2019/4/8 22:13:14

The AROS implementation of SetFunction does Forbid/Permit internally. The original developer docs also imply that you don't have to manually Forbid/Permit:
http://amigadev.elowar.com/read/ADCD_ ... cs_3._guide/node0238.html
As for SetMethod, I'd imagine that it also does whatever locking is needed for you. Still, there's no harm in doing Forbid/Permit around the block where you patch the functions, as you won't end up being rescheduled between the SetMethod calls.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project