java - Is it possible to have a function call as the body of a thread? -
is possible have function executed in different thread calling function in body of thread have defined?
thread background = new thread(new runnable() { public void run() { mcamera.addcallbackbuffer(data); } }); background.start();
can this?
provided mcamera
, data
instance members, static members or final variables , non-null should work.
Comments
Post a Comment