Groups
Sign in
Groups
CodenameOne Discussions
Conversations
Labels
About
Send feedback
Help
Question about Thread
49 views
thread
Skip to first unread message
Gordons
unread,
Sep 6, 2013, 12:43:46 PM
9/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Is there a way I can find out if a thread is already running so I do not call it to run a second time. I tried using
thread.isAlive()?
but it ignores it and calls the thread again.
Shai Almog
unread,
Sep 6, 2013, 1:31:42 PM
9/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Not really, just use a marker flag when entering run() and when exiting it (make sure to have a finally block).
Gordons
unread,
Sep 6, 2013, 2:28:19 PM
9/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Ok thanks.
Reply all
Reply to author
Forward
0 new messages