標籤

C++ (12) Linux (6) MacOSX (4) Makefile (3) Matlab (3) Ubuntu (3) Android (2) C (1) Refactoring (1)

2011年12月28日 星期三

[Android] thread, join

join的解釋如下:

final voidjoin()
Blocks the current Thread (Thread.currentThread()) until the receiver finishes
its execution and dies.
final voidjoin(long millis, int nanos)
Blocks the current Thread (Thread.currentThread()) until the receiver finishes
its execution and dies or the specified timeout expires, whatever happens first.
final voidjoin(long millis)
Blocks the current Thread (Thread.currentThread()) until the receiver finishes
its execution and dies or the specified timeout expires, whatever happens first.
來源資料:http://developer.android.com/reference/java/lang/Thread.html

沒有留言:

張貼留言