List Info

Thread: calling jack_deactivate out of the process thread crashes




calling jack_deactivate out of the process thread crashes
user name
2007-02-12 07:49:15
Hello,

I need a way to remove my client from of the process graph
in the next
cycle, called from the RT process function.

Calling jack_deactivate will zombify jackd. Is this a known
behavior
or did I something wrong? I am using 0.102.20.


So my RFE:
jackd should evaluate the return value of the clients
JackProcessCallback function and follow a clients deactivate
request.


kind regards
Daniel Schmitt

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el

Re: calling jack_deactivate out of the process thread crashes
user name
2007-02-12 14:19:12
On 2/12/07, Daniel Schmitt <dani254gmail.com> wrote:
> Hello,
>
> I need a way to remove my client from of the process
graph in the next
> cycle, called from the RT process function.
>
> Calling jack_deactivate will zombify jackd. Is this a
known behavior
> or did I something wrong? I am using 0.102.20.

jack_deactivate() is not a realtime-safe operation and must
not be
called from the process() callback.  So, yes you did
something wrong.


> So my RFE:
> jackd should evaluate the return value of the clients
> JackProcessCallback function and follow a clients
deactivate request.

A non-zero return value from process() should deactivate the
client.
-- 
 joq

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el

Re: calling jack_deactivate out of the process thread crashes
user name
2007-02-13 11:40:04
On 2/12/07, Jack O'Quin <jack.oquingmail.com> wrote:
> On 2/12/07, Daniel Schmitt <dani254gmail.com> wrote:
> > Hello,
> >
> > I need a way to remove my client from of the
process graph in the next
> > cycle, called from the RT process function.
> >
> > Calling jack_deactivate will zombify jackd. Is
this a known behavior
> > or did I something wrong? I am using 0.102.20.
>
> jack_deactivate() is not a realtime-safe operation and
must not be
> called from the process() callback.  So, yes you did
something wrong.
> 
>
> > So my RFE:
> > jackd should evaluate the return value of the
clients
> > JackProcessCallback function and follow a clients
deactivate request.
>
> A non-zero return value from process() should
deactivate the client.

It should but it doesn't. I tested it with 0.102.20. and
0.100.0.
Can someone confirm this?
Is it possible to include this in a future release?

greetings
Daniel

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Jackit-devel mailing list
Jackit-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )