synchronized and thread

reimi gibbons rei2x at hotmail.com
Sun May 17 23:41:06 PDT 2009


if i encapsulate a part of statements within function with synchronized keyword and then let says 1 thread is calling the function, then another thread try to access it, will d put the later thread to wait (sleep) until the 1st call finished it or it will signal failure to access? thanks


More information about the Digitalmars-d-learn mailing list