thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Crawford <>
Subject Stopping threads question
Date Fri, 23 Jul 2010 08:10:59 GMT
Hey thrifty people -

Maybe a silly question, but I wasn't able to get this working with the
Runnable/Thread stuff.

What's the best way to pass a "stop" command to a thrift thread? I was
able to make a runnable class and start in a new thread, but haven't
been able to cleanly stop it. I ended up using the pthread stuff
directly, but am curious how this would work with thrift-managed

Basically I added file tailing to the scribe log server; originally I
had this working with thrift threads but couldn't figure out how to
stop them. I'd rather use the thrift stuff if there's a better



View raw message