Sign in to follow this  
Followers 0
asha91

Circular linked list synchronisation

2 posts in this topic

I'm working on a software with two threads. one iteration of a circular linked list Because the linked list is circular, there is always a following member. another thread is changing the list However, I receive a concurrentModificationException. What am I supposed to do with it?

 

Thanks

0

Share this post


Link to post
Share on other sites

Your question lacks details like what programming language, code samples etc. In general what you want to do is use some synchronization method like semaphore or mutex. Without more details, I can't help more.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.