KMLM List
View email archives for the history of this mailing list.
|
|
|
|
systemc-forum - [Systemc-forum] Hierarchical channels collisions
|
Message Thread:
Previous |
Next
|
- To: <systemc-forum@xxxxxxxxxxx>
- From: "Samir Patel" <SPatel@xxxxxxxxxx>
- Date: Tue, 24 May 2005 15:15:24 -0700
- Send Email to systemc-forum@osci.kavi.com:
- Send new message
- Reply to this message
|
Hi all,
I have two different threads, a main thread and an interrupt service
thread that both call a hierarchical channel modeling a bus interface.
Is there a way to handle collisions when both threads try to call the
channel at the same time? I need the function call to back off one
thread when the bus is already busy, and then proceed once it is
finished.
The other option, which would actually model the system more closely,
would be to "stall" the main thread entirely until the interrupt thread
is complete. Is there a way to do this that's built into SystemC?
Thanks!!
Samir
|
|
By Date:
Previous |
Next
|
Current Thread
|
By Thread:
Previous |
Next
|
- [Systemc-forum] Hierarchical channels collisi, Samir Patel (you are here)
|
|
|
Mail converted by the most-excellent MHonArc 2.6.10
|