473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Activity Modeling and Threads

Does anyone know of a good modeling methodology for dealing with threading
issues?

I normally like to keep threading as simple as possible, but I've come
across a project where there may be significant concurrency issues, and I
need to be able model activities that share data among threads. I'm trying
to identify some rather subtle situations where there might be race
conditions or synchronization issues.

I'm having a difficult time deciding what the best way is to depict the
actions, so that we can have a team discussion on how to manage the whole
thing.

For single-threaded stuff (or relatively simple threading scenarios), I've
been using activity diagrams, with swimlanes representing object
boundaries -- they've worked great for building consensus on behaviors.
Now, I need to add another dimension to represent what thread an activity
occurs on, so that we can plot intersections (which are potential locking
issues), and parallel paths (which are potential race conditions).

Has anyone found a model that works well for this sort of thing?
Nov 16 '05 #1
2 1318
Hi J.Marsch,

I'm not quite familiar with thread modeling. However, here I've found some
useful articles about it. Hope this helps.

http://iis-web.coloradotech.edu/bsanden/CS649/Elm.pdf

Besides, we can also wait to see if any community member has some
suggestions.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #2
Thanks, Kevin. I'll give it a read.
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:gY*************@cpmsftngxa10.phx.gbl...
Hi J.Marsch,

I'm not quite familiar with thread modeling. However, here I've found some
useful articles about it. Hope this helps.

http://iis-web.coloradotech.edu/bsanden/CS649/Elm.pdf

Besides, we can also wait to see if any community member has some
suggestions.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Robert Brown | last post by:
Is there a good approach to modelling many heterogeneous entity types with that have some attributes in common? Say I have entities "employees" which share some attibutes (e.g. firstname,...
1
by: Mike | last post by:
I'm starting up on big project that will take much of my time in next year or two. Until now I was mostly self-employed on small projects so I didn't spent so much time modeling system before...
1
by: kasterborus | last post by:
Hi, My client is using the UBB Threads forum and I was recently asked to look into adding the ability to track the activity of each of the users to see who is more active than others. Users are...
25
by: Thomas R. Hummel | last post by:
I'm going to try to describe this situation as best as I can, but if anything is unclear please let me know. Some of this database was already in place before I arrived on the scene, and I don't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.