site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gfE7A57ocBtAXMWWuUMK1d05gD3IJWOjYfNmC9Yobtfz7e4LwEPRs9npoHHzmXDCPCeDFtZYQjqwe/UICnbgyUEoYjK20lVPTeUqRIlmtl+d85HGf+3HkERiNKGmq2Am47INdvYGxCTDUIlJNZlefRvDoPFT6MG8RTVVERVEeoE=; --- Rakesh Singhal <rakesh.singhal@gmail.com> wrote:
Thanks Mike. But here, problem is that I am not using workloop. I want to lock thread in one function and unlock it from another function.
Regards
We are using lck_mtx_lock and lck_mtx_unlock. You may have to include the com.apple.kpi.libkern bundled library in your plist. Thanks, David Rose ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com