|
I am creating an app that accesses a database. On every database access, the app waits for the job to be finished. To keep the UI responsive, I want to put all the database stuff in a separate thread.
Here is my idea:
The db-thread creates all database...
Started by Holgerwa on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Only move to a thread pool if (with careful evaluation) (1) there is a lot of... .
I suggest to begin with the adhoc thread creation, it is simpler to implement and simpler to scale .
I have implemented both strategies: Thread pool and adhoc thread creation .
|
|
Hi,
I'm always confused about thread concepts. I didn't get a chance to use those concepts in a real environment so far. It will be helpful if some one clear me about threads or point me to some good tutorials.
Thanks in advance
Started by leela on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://en.wikipedia.org/wiki/Thread_%28computer_science%29
There is a nice page on wikipedia: http://en.wikipedia.org/wiki/Thread_%28computer_science%29
short summary: A thread is a light... .
Your question is so vague that only a vague answer is possible .
|
|
While debugging a .NET Framework 3.5, WinForms application I spotted some "Worker Thread"s without a name.
I know when you open an application you've got a one worker thread by default. However in the middle of debugging when I pause the debugger and ...
Started by dr. evil on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Continuing on....
They sit inside the process to simplify analysis of that process .
If I'm reading your question right, they are threads used by the VS debugger to keep track of the operations of the various threads and other items of debugging interest .
|
Ask your Facebook Friends
|
Here is specifically what I am seeking to accomplish:
Using .Net 3.5, I have a Windows Service, within which I have a WCF Service running. I have a client, which requests a file from the WCF Service (Net.Tcp binding), which is then copied by the WCF service...
Started by Elan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You....
I'd really try to avoid any actually locking of anything .
You could do similarly as long as you have full access to the destination, which it sounds like you do .
MS Office does this with a separate file with a name similar to the target file name .
|
|
Spring Gardening Thread, What Are You Planning On Growing I have planted a new pecan tree, 5 more blackberry bushes, and have tomatoes, peppers growing from seeds about ready to plant on large pots. I will be putting in the potatoes and herbs that did...
Started by TXBSAFH on
, 17 posts
by 15 people.
Answer Snippets (Read the full thread at texasguntalk):
Re: Spring Gardening Thread, What Are You Planning On Growing We do acorn squash,peppers,corn thing and put seedlings in the ground after sprouting? Shawn Re: Spring Gardening Thread, What Are You Gardening Thread, ....
|
|
Music Thread / What Are You Listening To? Bollocks - sorry guys, I accidentally deleted it
I didn't realise deleting the first post deleted the entire thread!
So here's a new one.
While I work I feel you just can't beat Jean Michel Jarre's seminal Oxygene...
Started by MarcMorris on
, 20 posts
by 7 people.
Answer Snippets (Read the full thread at cultmovieforums):
Re....
Oh well.
Oh bollards, I've just realised my small claim to fame has been deleted (an uncle, drummer of The Charlatans, a band that's actually come out of Birmingham) .
Re: Music thread - or, What are you listening to? Mind your language please Marc .
|
|
The Official Ripster Count YOUR Blessings Thread! What are you grateful for? Some Gentle Readers have informed me that the Ripster subforum has become a home for nattering nabobs of negativism. HEY, it's the INTERNET!
So in a complete 180 degree reversal...
Started by ripster on
, 15 posts
by 6 people.
Answer Snippets (Read the full thread at geekhack):
Resolution of....
"Look drunk to feel comfortable hitting it." -PFU I'm grateful Paypal gave me my money (back) .
Pussies.
I'm grateful I have a place like the Ripster subforum to bitch and moan about the noobs, pussies and ne'er-do-wells in the main forum .
|
|
A Funky Thread.. what was... WAS FUNKY... Funk is about the most fun music to play.. even badly.. but the think that makes funk is those weird syncopation that the drummer and the bass get into.. how they build the whole house on the beat.. and a super...
Started by scuzzo on
, 17 posts
by 12 people.
Answer Snippets (Read the full thread at harmony-central):
Electric Cowbell
http://www.soundclick.com/bands/defa...&content=music
Scuzzo's Sound Clicks
Mixed for Headphones only
all pictures....
Yea? but can he play? no not really...
Http://www.youtube.com/watch?v=TdorgC9qUkI Last edited by scuzzo; Today at 07:45 AM.
|
|
Parfumes Thread - What do you smell like? Hi.
This thread is meant to be a discussion thread for the brands and types of perfume you'd wear, your experiences with them and more. There are all sorts of names for these good smells, from deodorants and shower...
Started by Evil3ye on
, 15 posts
by 6 people.
Answer Snippets (Read the full thread at mangahelpers):
Re: Parfumes Thread - What do you smell like? Old Spice , heh?
...manly Re: Parfumes Thread....
Take as if our beloved dreams will lose.
I'm on a horse.
Re: Parfumes Thread - What do you smell like? I smell like Isaiah Mustafa.
|
|
Hophead Thread...what's the best? I've always liked bright, hoppy beers...but damn a trip to Portland a few years ago cemented it and now I always have some good IPA's around. I dig on all kinds of beer, but shit I'll walk a mile for a Blind Pig IPA.
...
Started by Homercles on
, 37 posts
by 22 people.
Answer Snippets (Read the full thread at shaggybevo):
But like Phat....
Here in tx, for me at least, its Stone Ruination, Breck 471, SA DR 11 is a nice hoppy DIPA, etc etc .
Where is local? huge hophead here, just like half the other guys who post in the beer threads, but it all depends on what u have available .
|