ASPFriends.com 'ngfx-threading' list
Up to: Discussion Lists

  • RSS Syndication
  • Latest Discussions Archive
    # of threads in the taskmanager (8 replies)
    ASPFriends.com 'ngfx-threading' list
    I have an application that when I click on a button, starts up 2 additional threads. When the app starts up, the task manager shows 5 threads allocated to my application. When I click on the button that spawns the threads, I see where the number of threads associated with my app jumps upto 11. Now, I can understand a single "main" thread and there being 2 additional threads for a total of 3, but w...
    HyperThreading and .NET (2 replies)
    ASPFriends.com 'ngfx-threading' list
    I just put together a new couple of servers and it turns out something happened with the Xeon CPU that makes it pretty cool. It has this technology called HyperThreading, which allows for one CPU to maintain 2 process threads per application. This means when you put dual CPU machine together windows 2000 server shows it as a 4 CPU machine and the board is capable of holding 8Gb of RAM. That's the ...
    Why so many? (2 replies)
    ASPFriends.com 'ngfx-threading' list
    Ok, looking at task manager (or taskinfo 2002) I see my console app is running with 14 threads. Of those, I have only created 5. Where are the other 9 threads coming from? Is there any way to find out who launched the threads? [This E mail scanned for viruses by Declude Virus]
    Threading Question (6 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    I have a long running process that I want to occur in its own thread so that the current request can complete in a timely manner (the process updates some cache entries, but I have a secondary cache that I can use while this thread is running). My problem has been that every request spawns a new thread until the primary cache's values are updated, which means that I'm updating the primary cache mu...
    threading with .net?! (4 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    hi all :) im workin on this project where a windows form will call googl's web service but then accessing the web makes the program halt for a few seconds which is so unpleasant!!! i figured if i use threading to call the web service and not make the whole program wait for it, then it would be fine! anyone can tell me how to do simple threading in .net or any useful links or articles.. stay cool :...
    Synchonization time (5 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Setup: Collection of threads. Queue of tasks. Each thread in the collection can pull a task from the queue and process it. It does this by sleeping for a given length of time and then checking to see if a task is queued, if so it will obtain a lock and then if there is still a queued task process it. This works fine but I've noticed that if two threads try to obtain a lock at the same time it can ...
    Aborting Threads problem? (3 replies)
    ASPFriends.com 'ngfx-threading' list
    Moved from [aspngstart] to [ngfx threading] by Charles M. Carroll charlesmarkcarroll@yahoo.com A question for the Gurus about how ASP.NET works (esp. with relation to threading): I'm trapping an error on my web app that is puzzling me. The app appears to successfully complete all of the logic, but my "catch" block is still fired at the end of the logic execution. Here are the details of the except...
    TcpListener Multithreading (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Moved from [aspngfreeforall] to [ngfx threading] by Mitch Denny mitch.denny@warbyte.com Hey all, I was just wondering if the TcpListener class was multithreaded. When you call AcceptTcpClient or AcceptSocket, does this fire off a new thread behind the scenes thus freeing up the TcpServer to receive another request. All the examples I've seen seem to accept and deal with only one request at a time....
    SV: Re: Treading parameters... (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Thanks Douglas, it kinda works... :) i added the variable smail to MyThread, and just before the thread starts i added: thr2.smail "test " j; but when Thread2 writes out smail it has a value of 17 to 19 (j's value in for loop) could you perhaps show an example of how to do it correct :)? (im new to programming in c#, but knows vb / asp) newthread.cs using System; using System.Threading; public cla...
    Treading parameters... (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Hi all, I have a simple threading program, listed below. I'd like to "transfer" values from MyClass to Thread2 (where the thread runs), e.g. the variable j. (real purpose would be a datarow with a email address that i'd like to send a message, in its own thread, as smtp servers takes time to answer your request ) hope someone has a solution..:) tread.cs: using System; using System.Threading; publi...
    Threading, how far can you go...(would you go?) (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    I'm just wondering.... suppose you have a website with a search field..... when the user searches, you'll have 5 tables that you have to search.... could anything be gained if you search each table in its own thread?? or could you just as well search them one by one..? if something could be gained.... , then does the database matter??? (maybee Access does'nt like (or accept) many threads running??...
    WaitAll for threading.. any examples? (3 replies)
    ASPFriends.com 'ngfx-threading' list
    Hello, I am working on an application where I want to start approximately three threads, let them work, and when all three are done continue on to the next part of the processing..... I can start the threads ok... but I have no idea how to get the application to wait until all three threads are complete before continuing...... Does someone out there know how to do this? I am using VB.NET, so if th...
    Threading Resources (7 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Any good resources or sites that get into complex thread pool management for managing large quantities of worker threads in a windows service? I'm going to need to manage a pool of 1500 2000 worker threads to perform a series of operations (non atomic) through 3 pipelines of activity. Thanks, Paul Original Message From: Russ Nemhauser [mailto:russnem@hotmail.com] 20 Sent: Friday, January 11, 2002 ...
    Multi threading in IIS? (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Copied from [aspngfreeforall] to [ngfx threading] by Charles M. Carroll charlesmarkcarroll@yahoo.com A part of a process in updating a database in my web app is the generation of an email to notify someone of the presence of a new record. It all works fine, but makes me wonder if it's possible to spawn a thread to send the mail? It's not that slow right now, but would make the save method faster i...
    multithreading (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Moved from [aspngfreeforall] to [ngfx threading] by Charles M. Carroll charlesmarkcarroll@yahoo.com 0 1024227216 1011800158 :14950 Content Type: text/plain; charset us ascii Does anyone have or know of a good example with multithreading in C#? Thank you. Do You Yahoo!? Send FREE video emails in Yahoo! Mail. 0 1024227216 1011800158 :14950 Content Type: text/html; charset us ascii P Does anyone have...
    Threading and Network Classes (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Copied from [aspngfreeforall] to [ngfx threading] by Charles M. Carroll darthcarroll@asplists.com I have been working on a networking application and now I am trying to thread it. The problems I am seeing are the threads with the network functions never start. Once I remove the network function stuff out, and leave just a simple trace.writeline, they work. I am seeing this with the WebClient Objec...
    Basic threading question (5 replies)
    ASPFriends.com 'ngfx-threading' list
    Copied from [aspngcs] to [ngfx threading] by Charles M. Carroll darthcarroll@asplists.com Perhaps someone can help me. I have a form that kicks off a method in a class. The method spawns a thread so that the current thread can return to the form immediately. The spawned thread performs some lengthy task and updates a class variable as to what it's doing. I then have a public method that exposes th...
    ThreadAbortException bug in .NET (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    According to MSDN, ThreadAbortException is special exception, so ThreadAbortException is not catchable. But my code snippet, does catch the ThreadAbortException. using System; using System.Threading; namespace Test { /// /// Summary description for Class1. /// class Class1 { static void Main(string[] args) { ThrowTest t new ThrowTest(); ThreadStart runner new ThreadStart(t.run); Thread thread new ...
    Threading issue in .NET (2 replies, VIP)
    ASPFriends.com 'ngfx-threading' list
    Moved from [aspngcs] to [ngfx threading] by darthcarroll@aspfriends.com Hi. There is no detail information about my question in anywhere, anyplace. Do I have to synchronize webservice method, .NET remoting singleton mode method? Or, all synchronization issue is dealt by .NET runtime? Someone said 'You may not need to syncrhonize.' But 'may be' does not carry conviction. I want to know exactly. I c...
    Visit the archive for messages from this site.
  • October 2001 (1 item)
  • November 2001 (2 items)
  • January 2002 (4 items)
  • February 2002 (4 items)
  • March 2002 (2 items)
  • April 2002 (1 item)
  • May 2002 (1 item)
  • June 2002 (1 item)
  • August 2002 (3 items)
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com