another thread – Japanese Translation – Keybot Dictionary

Spacer TTN Translation Network TTN TTN Login Deutsch Français Spacer Help
Source Languages Target Languages
Keybot      10 Results   4 Domains
  2 Hits www.redex-andantex.com  
We create another thread, and we call
ここで別スレッドを立ち上げ、立ち上げたスレッドで
  2 Hits www.html5rocks.com  
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.
非同期プログラミングの一つの問題として、エラーが別のスレッドで起きる可能性があるため、伝統的な例外処理であるtry/catchが 実質的にどこにも使えないという点があります。従って関数の呼び出し元で処理中に何かしらエラーが起きた時には、 関数の呼び出し先では構造化された方法でエラーが通知される必要があります。
  5 Hits tupiniers.com  
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.
条件変数はいつでも mutex と結びつけられていなければならない。これは、 あるスレッドが条件変数を待とうとしている時に、他のスレッドが、 先のスレッドが実際に条件変数に対して待機するその直前に条件を送信する、 という競合条件を避けるためである。
  wrapper.tanukisoftware.com  
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.
一番シンプルな例だと、スレッドAがオブジェクトAをロックしている状態で、 オブジェクトBのロックを試みるケースのときに、 その間、他のスレッドBがオブジェクトBをロックした状態で オブジェクトAをロックしようと待機しているケースです。 このケースでは、スレッドAは、オブジェクトB待ちのため、オブジェクトAを決して開放されることはありません。 同時に、スレッドBは、オブジェクトAが有効になるのを待っているため、 オブジェクトBをエンドレスで永久にロックしたままになるため、両者とも決して前に進めるはずがありません。