DCSIMG
Robotics - Pavel's Blog
Sign in | Join | Help

Pavel's Blog

Pavel is a software guy that is interested in almost everything
software related... way too much for too little time

Browse by Tags

Robotics Developer Studio R3 Available (for free)
29 May 10 09:18 PM | pavely | with no comments
A new version of Microsoft’s Robotics Developer Studio (MRDS) has been released. This with a new twist: it’s completely free. Download it here . MRDS is a platform for modelling and interacting with robots (both hardware “real” robots, and software simulated ones). This package has a lot of potential, and in it’s early days was also responsible for the birth of the CCR/DSS toolkit (which is in a nutshell, a lightweight asynchronous service oriented runtime), and is the core messaging and threading...
תגים:, ,
ThreadPool and Robotics Studio
06 January 08 01:23 PM | pavely | with no comments
בעולם של ה-CLR לא קשה לבצע פעולות אסינכרוניות. למשל, כל delegate תומך אוטומטית בהפעלה אסינכרונית ע"י BeginInvoke ו-EndInvoke. מי שצריך לעבוד ללא delegate יכול להשתמש ב-ThreadPool שלו מספר מתודות סטטיות להפעלת method בצורה אסינכרונית. הבעיה ב-ThreadPool היא שהינו יחיד. כלומר, אם יש מצב שבו יש באפליקציה שתי סוגי בקשות, אחת בעדיפות רגילה ואחת בעדיפות גבוהה, הן ייזרקו לאותו תור שמנהל את הבקשות האסינכרוניות, ואם לדוגמא, יש 100 בקשות רגילות בתור ואז צריך להעביר בקשה בעדיפות גבוהה, הבקשה תאלץ לחכות...