Exec

Remove/Change Disable()-Enable() into....?

Hi just seeing that in MIXER sources (own soundcards drivers) uses DISABLE()/ENABLE() function want to know if it's possible (and safe) to change'em with a mutex/semaphore or just remove from code as they are not important/usefull.

Disable/Enable are on 3 _ctrl.c sources: emu10kx_ctrl.c, fm801_ctrl.c and sb128_ctrl.c

On emu10kx_ctrl.c, fm801_ctrl.c they are commented out (by me, since V1.39 or alike) and seems ok, as nobody complained "system freezes, doesn't work for me now,....):

Forums: 

How to know if a port is a ARexx port ?

Hi,
I'm playing with the exec port list to send some AREXX messages to open Ports.

But I wanted to know if I can be sure that the destination port will accept ARexx messages,
For example, when I send ARexx message to WORKBENCH or OWB.1 port, it works great.

But when I send ARexx message to SFS handler port or AMIDOCK port it freezes my program.

Edit : I use the rexx.c of Thomas Rapp method to send messages

http://thomas-rapp.homepage.t-online.de/examples/rexx.c

Thank , by advance, for your help

Forums: 

Remove a task with RemTask, possible ?

Hi,
I read on Internet in old docs or in some forums that it was not safe to remove others tasks with Exec/RemTask.
I have tried it, and it's seems true, my system become unstable each time I remove a task.

Is somebody have an idea if it's possible with RemTask (or another function) to remove a busy or frozen task ?

Many thanks by advance for your answer,
zzd10h

Forums: 

CPU percent used by a task/process

Hi,
I'm building a little tool (SysMon on OS4Depot) and I would like to implement a kind of CPU task monitor.
I'm just able to scan the Exec task/process list but for the CPU used...
I have really no idea in which direction to search to do this.

Is somebody have an idea where to search to do that ?

Many thanks, by advance, for your help.

Forums: 

Pages

Subscribe to RSS - Exec