Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1

    Default C#/.NET Threading


    Anyone care to talk about this? How do you find it?

  2. #2
    Just easy to implement and hard to debug/trace.

  3. #3
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    what side of .NET Threading you have touch so far?

  4. #4
    Quote Originally Posted by MarkCuering View Post
    what side of .NET Threading you have touch so far?
    .Net threads are sloooooowwwwwww...

    but if you're just limited to windows and .Net, guess you have no other choice.. unless u go java on windows.. although i love C# language, personally, i haven't tried threads on it yet..

    but there's pthreads and gcc.. you can debug and trace separate threads.. gdb has features for it.. pero poor man's debugger ni ha.. but u can use eclipse if u want fancy ide..

  5. #5
    tracelog or log file is the answer. Debug is the second answer.

  6. #6
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Quote Originally Posted by bluedes View Post
    .Net threads are sloooooowwwwwww...

    but if you're just limited to windows and .Net, guess you have no other choice.. unless u go java on windows.. although i love C# language, personally, i haven't tried threads on it yet..

    but there's pthreads and gcc.. you can debug and trace separate threads.. gdb has features for it.. pero poor man's debugger ni ha.. but u can use eclipse if u want fancy ide..
    How do you know it works slow when you still haven't tried it yet? There are alot of issues that slows down a thread.

  7. #7
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Quote Originally Posted by dodie View Post
    tracelog or log file is the answer. Debug is the second answer.
    Sorry, but for me you cannot examine threads on tracelog or log file, I don't know what you are trying to tell me. Debugging as a second answer is also not clear in my point of view Threads are nearly impossible to debug, even in unmanaged C++, then how much more it is in C#.NET,

    .NET threads is obviously different from OS Threads, I'm quite confuse, normally in C++ we wait the handle, but in C# you can get by its id., when you run the debugger, the debugger itself manages its own thread, and your debugger doesn't have controls to the thread you created in your program.

    Its almost 2weeks I studied this, there are still issues that I don't get. Aside from that, .NET came along with different versions, unfortunately, they didn't remove the previous version of .NET threading, it is still on the namespaces scramble altogether!.

    there are alot of ways to do threading in .NET, different ways to lock, there is ThreadStart, parameterized, pinvoke etc... anyone who came along from unmanged C++ and new at .NET will really get confused on this.

    I can't use my tools for the meantime, but they said they will be supporting early next year, that's why I keep working on this

  8. #8
    so it means you haven't tried tracelogging. hahahahahahahahahaha hahahahahahahahahahahahahah You are limiting yourself on debugging alone.
    Debug feature alone is useless in some scenarios.
    Last edited by dodie; 12-03-2009 at 09:34 AM.

  9. #9
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Quote Originally Posted by dodie View Post
    so it means you haven't tried tracelogging. hahahahaha. You are limiting yourself on debugging alone.
    I'm talking about threads you cannot trace nor log a thread, only the data handle or the memory shared by multiple threads, there's a routine for tracing and logging for modern compilers eg. profiler and tracer in .NET, JAVA, C++, Python.

    here's the link of what bluedes talking about https://computing.llnl.gov/tutorials/pthreads/

    but then again, my concern is C#.NET Threading... which one is commonly use? feedbacks? I tried to search the threading history of .NET since its first release, they didn't document that. instead they introduce only in readme files.

  10. #10
    Quote Originally Posted by MarkCuering View Post
    you cannot trace nor log a thread
    hahahahahahahahaha, so innocent. Are you a programmer? What the..........

    Of course, debugging can't do that. Tracelogging does.
    Last edited by dodie; 12-03-2009 at 09:38 AM.

  11.    Advertisement

Page 1 of 3 123 LastLast

Similar Threads

 
  1. Replies: 40
    Last Post: 05-13-2014, 07:35 PM
  2. The New Jersey Nets thread
    By vcmov_15 in forum Basketball
    Replies: 39
    Last Post: 05-19-2010, 10:34 AM
  3. Replies: 277
    Last Post: 03-22-2010, 12:17 PM
  4. Istorya.Net Monthly Photo Contest - Info Thread
    By dbgg1979 in forum Photography
    Replies: 41
    Last Post: 02-26-2010, 12:13 PM
  5. Replies: 53
    Last Post: 12-10-2009, 12:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top