[MDEV-23091] Add support for OpenBSD's getthrid() to retrieve the thread id Created: 2020-07-04  Updated: 2020-10-06  Resolved: 2020-08-28

Status: Closed
Project: MariaDB Server
Component/s: Performance Schema
Fix Version/s: 10.5.7

Type: Task Priority: Blocker
Reporter: Brad Smith Assignee: Daniel Black
Resolution: Fixed Votes: 0
Labels: None

Attachments: File MariaDB-storage-perfschema.diff    

 Description   

I noticed when the build failed on sparc64 due to the pthread_self() fallback that MariaDB's perfschema code does not currently have support for OpenBSD's getthrid() for retrieving the thread id.

Attached is a patch from our ports tree to add such support.



 Comments   
Comment by Daniel Black [ 2020-08-28 ]

Thanks for the patch brad0

Generated at Thu Feb 08 09:19:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.