| Summary: | Update profiler native code to build properly on newer Linux distributions | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jonathan West <jgwest> | ||||||
| Component: | TPTP | Assignee: | Jonathan West <jgwest> | ||||||
| Status: | CLOSED FIXED | QA Contact: | Kathy Chan <kathy> | ||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | jgwest, mikereid | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jonathan West
Created attachment 176810 [details] Patch for bug 322927 Patch checked into HEAD. May I suggest we use: + pthread_mutexattr_init(&attr); + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); instead of explicitly referring to attr.__align? This is the official pthreads API way, and builds on old and new linuxes alike, so the TPTP_NEWER_LINUX define is also not needed. Created attachment 176900 [details] Patch for bug 322927 - Linux's ThreadSync.cpp Second patch checked into HEAD. Thanks Mike! Can this defect be resolved since the patches had been checked into CVS already? Resolving. This defect had been resolved as FIXED for more than 1 month. Please verify with the latest TPTP 4.7.2 driver. If this defect is still left unverified by February 25, we'll close it on the originator's behalf. TPTP 4.7.2 driver can be downloaded from: http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2 Closing. |