Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL THREAD PANIC: (addjob) /root/torch/install/share/lua/5.1/torch/File.lua:141: Unwritable object <userdata> at <?>.1.turbo_mutex #104

Open
puneetkumarsahay opened this issue May 22, 2019 · 0 comments

Comments

@puneetkumarsahay
Copy link

Hello,

I am using threads.Mutex for creating a mutex object & later use the same for lock/unlock.

I have stored the mutex as :

data_info.my_mutex = threads.Mutex()

In another function(which has data_info as argument) this mutex is used to get a lock on it.
data_info.my_mutex:lock()

While executing I get below error:
FATAL THREAD PANIC: (addjob) /root/torch/install/share/lua/5.1/torch/File.lua:141: Unwritable object at <?>.1.turbo_mutex

Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant