Deleting an object that spawned a thread

This seams like a silly question, but what happens when you delete an object that spawned a thread.

Is the thread destroyed instantly?

Answers


If you specified in destructor, that thread should be destroyed - yes. In other case - no.


Need Your Help

How to show git log history for a sub directory of a git repo?

git

Lets say that I have a git repo that looks like this.

Converting PHP to JavaScript. Store keys/values into an array

php javascript jquery arrays

I want to convert the following PHP code to JavaScript, This is an array of key/value pairs in PHP:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.