Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6
This is the forum to discuss the Wrox book Professional Microsoft Robotics Developer Studio by Kyle Johns, Trevor Taylor; ISBN: 9780470141076
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 16th, 2008, 12:00 PM
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Worker Threads

Hello,

I am currently working through the ccr example from chapter 2, I have just noticed that even with the service attribute specifying the number of threads commented out I am still getting 5 working threads (With a dual core processor). I am just wondering if there is something else I may have inadvertently changed which could have caused the number of working threads to be 5.

Thanks

  #2 (permalink)  
Old June 16th, 2008, 11:44 PM
Wrox Author
 
Join Date: Apr 2008
Location: Brisbane, QLD, Australia.
Posts: 60
Thanks: 0
Thanked 5 Times in 5 Posts
Default

This seems strange. I ran the examples on a dual-core processor and only got two threads. The default is two anyway.

Are you using MRDS 1.5 or the CTP of V2.0?

Trevor

  #3 (permalink)  
Old June 17th, 2008, 12:27 PM
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using MRDS 1.5.

I ended up closing Visual Studio and reopening and that seemed to solve the problem, I am assuming the problem was created by myself, however I have no clue why or how it was happening.

Thanks for the quick response, and great work on this book, it is extremely helpful!

Dylan

  #4 (permalink)  
Old June 21st, 2008, 01:56 PM
Registered User
 
Join Date: Jun 2008
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I had the same problem initially. I double checked that I commented out the lines, recompiled the code again, and then it worked.

--Scott

  #5 (permalink)  
Old June 23rd, 2008, 08:42 PM
Wrox Author
 
Join Date: Apr 2008
Location: Brisbane, QLD, Australia.
Posts: 60
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Hmm. This is really strange. I have never seen this problem.

Anyway, thanks for reporting it.

Trevor


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Threading with Background worker YoungLuke C# 5 February 19th, 2008 05:19 AM
how Asp.Net worker process works hhkris4u ASP.NET 1.0 and 1.1 Professional 1 January 7th, 2007 06:20 PM
How to Pause or sleep the background worker thread mks033 C# 2005 0 May 3rd, 2006 07:03 AM
Problems with threads. Threads disappearing? DriesNeyrinck VB.NET 0 June 10th, 2003 08:26 AM



All times are GMT -4. The time now is 05:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.