Skip to content

Update pthreadpool_thread_(create|join) function signatures.#73

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_817671083
Oct 10, 2025
Merged

Update pthreadpool_thread_(create|join) function signatures.#73
copybara-service[bot] merged 1 commit into
mainfrom
test_817671083

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Oct 10, 2025

Update pthreadpool_thread_(create|join) function signatures.

  • thrd_create expects a thread function that returns an int.
  • pthread_create expects a thread function that returns a void*.

Introduce the pthreadpool_thread_return_t type definition that maps to the
correct type depending on the implementation that is used.

@copybara-service copybara-service Bot force-pushed the test_817671083 branch 2 times, most recently from 3041510 to 72e015c Compare October 10, 2025 21:21
@copybara-service copybara-service Bot changed the title Update pthreadpool_thread_create function signature. Update pthreadpool_thread_(create|join) function signatures. Oct 10, 2025
- `thrd_create` expects a thread function that returns an `int`.
- `pthread_create` expects a thread function that returns a `void*`.

Introduce the `pthreadpool_thread_return_t` type definition that maps to the
correct type depending on the implementation that is used.

PiperOrigin-RevId: 817810757
@copybara-service copybara-service Bot merged commit e8c7ec2 into main Oct 10, 2025
@copybara-service copybara-service Bot deleted the test_817671083 branch October 10, 2025 22:33
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