another thread – Japanese Translation – Keybot Dictionary
TTN Translation Network
TTN
TTN
Login
Deutsch
Français
Source Languages
Target Languages
Select
Select
Keybot
10
Results
4
Domains
2 Hits
www.redex-andantex.com
Show text
Show cached source
Open source URL
We create
another thread
, and we call
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
flashair-developers.com
as primary domain
ここで別スレッドを立ち上げ、立ち上げたスレッドで
2 Hits
www.html5rocks.com
Show text
Show cached source
Open source URL
One catch of asynchronous programing is that the traditional try/catch way to handle failures does not really work anymore, as errors usually happen in
another thread
. Consequently, the callee needs to have a structured way to notify the caller when something goes wrong during the processing.
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
html5rocks.com
as primary domain
非同期プログラミングの一つの問題として、エラーが別のスレッドで起きる可能性があるため、伝統的な例外処理であるtry/catchが 実質的にどこにも使えないという点があります。従って関数の呼び出し元で処理中に何かしらエラーが起きた時には、 関数の呼び出し先では構造化された方法でエラーが通知される必要があります。
5 Hits
tupiniers.com
Show text
Show cached source
Open source URL
A condition variable must always be associated with a mutex, to avoid the race condition where a thread prepares to wait on a condition variable and
another thread
signals the condition just before the first thread actually waits on it.
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
linuxcertif.com
as primary domain
条件変数はいつでも mutex と結びつけられていなければならない。これは、 あるスレッドが条件変数を待とうとしている時に、他のスレッドが、 先のスレッドが実際に条件変数に対して待機するその直前に条件を送信する、 という競合条件を避けるためである。
wrapper.tanukisoftware.com
Show text
Show cached source
Open source URL
The simplest example is where Thread A locks Object A and then attempts to lock Object B, while
another Thread
B has Object B locked and is waiting to lock Object A. In this case, Thread A will never release Object A because it is waiting for Object B. This will never happen because Thread B will keep Object B locked indefinitely as it waits for Object A to become available.
Compare text pages
Compare HTM pages
Open source URL
Open target URL
Define
wrapper.tanukisoftware.com
as primary domain
一番シンプルな例だと、スレッドAがオブジェクトAをロックしている状態で、 オブジェクトBのロックを試みるケースのときに、 その間、他のスレッドBがオブジェクトBをロックした状態で オブジェクトAをロックしようと待機しているケースです。 このケースでは、スレッドAは、オブジェクトB待ちのため、オブジェクトAを決して開放されることはありません。 同時に、スレッドBは、オブジェクトAが有効になるのを待っているため、 オブジェクトBをエンドレスで永久にロックしたままになるため、両者とも決して前に進めるはずがありません。