Omgili - forum search, search forums  
  

Discussions about like this thread

Displaying 1 - 10 out of 1,511,378 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
In java it is possible to get a snapshot of the stacktraces of all running threads. This is done with java.lang.Thread.getAllStackTraces() (it returns Map<Thread,StackTraceElement[]>). How can the same thing be done with .net?
Started by on , 4 posts by 4 people.  
Try this one var proc = System.Diagnostics.Process.GetCurrentProcess(); var....
On System.Diagnostics.Process.GetCurrentProcess().Threads and for each Thread create a StackTrace object with the .ctor that takes a Thread as its param.
I've just started programming with POSIX threads on dual-core x86_64 Linux system. It seems that 256 threads is about the optimum for performance with the way I've done it. I'm wondering how this could be? And if it could mean that my approach is wrong...
Started by on , 6 posts by 6 people.  
If your threads block on a syscall....
In the meantime, another thread can often do work.
Anytime one thread makes a blocking syscall to the operating system, the thread will stop running and wait for the result.
All the time.
Time and time again I find myself having to write thread-safe versions of BindingList and ObservableCollection because, when bound to UI, these controls cannot be changed from multiple threads. What I'm trying to understand is why this is the case - is...
Started by on , 4 posts by 4 people.  
Sure it's simple enough to design]; } Assume that myCollection is a thread safe collection where adds and updates are guaranteed to myCollection: namedly Count and the indexer....
The problem is designing a thread safe collection is not simple.
Ask your Facebook Friends
I'm writing a script that will ping my ip range. Here's what I have so far: lines = `ipconfig`.split("\n") thr = [] ip_line = lines.detect { |l| l=~/Ip Address/i } matcher = /\d+\.\d+\.\d+\.\d+/.match(ip_line) if matcher.length > 0 address = matcher...
Started by on , 4 posts by 4 people.  
You can use IO.popen like this thr.
That's probably why the code is slow.
To operating system, Ruby Interpreter is still just one process(just like any after the 'ping' finishes.
By Ruby Interpreter.
Would it not be nice to be able to start a thread like this. Sub DoStuff() Using MyThead = New Threading.Thread() 'Do stuff on MyThread. End Using End Sub It is much less code to write and looks nicer than: Sub DoStuff() Dim MyThread As New Threading....
Started by on , 4 posts by 4 people.  
This is already possible (with a bit more noise....
A thread would be created that contained the code down to the End Using and begin execution in parallel? No, I don't like that at all, it's much, much less clear what's.
So in your example ...
Hello, I am a Java programmer and I know a few things about threading int Java. In Java I can lock a method by using synchronized keyword: private int a; private int b; private int c; private synchronized void changeVars() { a = 4; b = 2; c = a+b; } I...
Started by on , 6 posts by 6 people.  
Private int a; private int.
Something like this mayhaps: using System.Runtime.CompilerServices; ...
I'm making this thread to test this phenomenon-- for science of course.
Started by on , 49 posts by 21 people.  
Answer Snippets (Read the full thread at ign):
*misses my post....
The like theory ok srsly @Indalecio666 @holyjesusjuice I was supposed to watch Game of Thrones like 30 minutes ago, but can't stop , once though.
@TheDevil21 Ya okay.
No way this works hmmm I like being a guinea pig.
Post smilies in this thread that you don't like when people use them. Originally Posted by bansky
Started by on , 11 posts by 6 people.  
Oh shit, I'm laughing like a hyena.
Originally Posted by FranciscoTheMan I just thought I'd start a thread about the most hetero guy here Bone---> <---Gumz Originally Posted by Nerd Damn you, naz.
Anonymous Coward 3/7/2012 10:18 am Elaine, delete that fucking thread like i told you to You either erase the thread that has my name and employer or D. and I are going to pin a thread on our board with that freak curmy's police record. Got his mug shot...
Started by on , 20 posts by 5 people.  
Normally I would have removed it after a while, but that thread will be there....
Then I locked the thread.
That fucking thread like i told you to police record for curmy? who knew? As for that thread, I removed requested.
The Concert Thread So ya, thought ya, might like to, go to the show... Thought it might be fun to have a thread for shows that you've seen or will be seeing. What is (are) the best show(s) that you saw? First show? Most unique or unusual? What's the ...
Started by on , 20 posts by 11 people.  
Answer Snippets (Read the full thread at uscho):
My: The Concert Thread....
I was 11%: Offseason Starting Point Re: The Concert Thread So ya, thought ya, might like to, go to the show...
KISS in 1979.
Re: The Concert Thread So ya, thought ya, might like to, go to the show...
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • USCHO Cafe | USCHO.com Fan | board.uscho.com
  • Acid Pulse - Cluster Fuck Central
  • The Bar
  • Teh Vestibule | IGN Boards
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost