CompuServe Thread

Forum unknown · Programming

#Circle Benchmark

9 messages in this thread
#20782From: Jim Nangano/SYSOPMay 29, 1986 10:59 AM
Mike, there is a Forbid() function. You would use Forbid when the program is using structures that another Task may use at the same time. It also disables multitasking until your Task executes a Wait function. To Exit the Forbidden state you have to call a Permit().
#20832From: Mike BerroMay 29, 1986 8:13 PM
So would using Forbid() speed up a program? I would then use it during sorts to speed things up. —Mike
#20844From: Jim Nangano/SYSOPMay 29, 1986 10:06 PM
Mike, yes it would speed up the program, but it's not recommended to use in a multi-tasking environment. But if the program is a real cycle pig, go for it.
#20844From: Jim Nangano/SYSOPMay 29, 1986 10:06 PM
Mike, yes it would speed up the program, but it's not recommended to use in a multi-tasking environment. But if the program is a real cycle pig, go for it.
#20861From: scott drysdaleMay 30, 1986 12:15 AM
THOU SHALT NOT FORBID()! think of the suffering you will cause to any other task! –Scotty
#20941From: Mike BerroMay 30, 1986 8:20 PM
I was thinking of Forbid()ing only during calculations. The EDL program in DL5 that calculates time codes is about 8 times slower than my ML version on the Apple. Have you (or anyone) done any time tests on it? I will try the circle benchmark with and without when I get around to it <pun intended>.
#20941From: Mike BerroMay 30, 1986 8:20 PM
I was thinking of Forbid()ing only during calculations. The EDL program in DL5 that calculates time codes is about 8 times slower than my ML version on the Apple. Have you (or anyone) done any time tests on it? I will try the circle benchmark with and without when I get around to it <pun intended>.
#20861From: scott drysdaleMay 30, 1986 12:15 AM
THOU SHALT NOT FORBID()! think of the suffering you will cause to any other task! –Scotty
#20832From: Mike BerroMay 29, 1986 8:13 PM
So would using Forbid() speed up a program? I would then use it during sorts to speed things up. —Mike