http://llvm.org/bugs/show_bug.cgi?id=18061

            Bug ID: 18061
           Summary: test/functionalities/thread/main.c relies on undefined
                    pthread mutex behaviour
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

See http://pubs.opengroup.org/onlinepubs/007908775/xsh/pthread_mutex_lock.html

 The pthread_mutex_unlock() function may fail if:

[EPERM]
    The current thread does not own the mutex.

The test code locks mutexes from one thread and unlocks them from another,
which is not allowed.  FreeBSD follows the standard more closely, and so this
test fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to