Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Linux use the real thread id via gettid() in error logging rather #443

Closed
wants to merge 1 commit into from

Conversation

notroj
Copy link
Collaborator

@notroj notroj commented May 8, 2024

than the (meaningless) pthread_self()-as-integer interpretation:

  • configure.in: Define DEFAULT_LOG_TID on Linux.

  • server/log.c: Define DEFAULT_LOG_TID as NULL by default.
    (do_errorlog_default): Use DEFAULT_LOG_TID as the argument to log_tid().

than the (meaningless) pthread_self()-as-integer interpretation:

* configure.in: Define DEFAULT_LOG_TID on Linux.

* server/log.c: Define DEFAULT_LOG_TID as NULL by default.
  (do_errorlog_default): Use DEFAULT_LOG_TID as the argument to log_tid().
@asfgit asfgit closed this in ac774f7 May 8, 2024
@notroj notroj deleted the linux-errlog-gid branch May 8, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant