This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dyninst/14490] Enable stapdyn in multiarch environments


http://sourceware.org/bugzilla/show_bug.cgi?id=14490

--- Comment #7 from Josh Stone <jistone at redhat dot com> ---
(In reply to David Smith from comment #6)
> I'm wondering if 32-bit and 64-bit processes can share a pthread mutexes. In
> a 64-bit exe, sizeof(pthread_mutex_t) is 40 bytes. In a 32-bit exe,
> sizeof(pthread_mutex_t) is 24 bytes.

That's a very good point.  Gross.  I suppose we could create our own locking
primitives, since futex deals in simple ints, but this is definitely a
complication I hadn't thought about.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]