Jump to content

intiator thread not in sync with target thread

Recommended Posts

well in the initiator thread i am doing this
1.write(some register X)
2.allocate local mem and parallelly a process(or thread) in target is waiting for something to be written on x and it becomes active i.e print M
3.then i am transferring this mem through DMI
Now at console at run time i am expecting the dmi transfer but receving the receiving M(from target process)

This is happening as soon as initiator call wait(delay) (for dmi )  but M is printed  ??


How to solve this synchronization issue ??



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...