Skip to content

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

@puneetkumarsahay

Description

@puneetkumarsahay

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions