Skip to content

(#599) Replace calls to getpid() with platform_getpid() - #613

Merged
gapisback merged 1 commit into
mainfrom
agurajada/599-Fix-unitstd.h
Jan 29, 2024
Merged

gapisback merged 1 commit into
mainfrom
agurajada/599-Fix-unitstd.h

Conversation

@gapisback

Copy link
Copy Markdown
Contributor

This commit cleans-up the #include <unistd.h> from several .c files that needed access to get pid(). Instead, change the code to invoke platform_getpid(), now defined in platform_inline.h

@netlify

netlify Bot commented Jan 27, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for splinterdb canceled.

Name Link
🔨 Latest commit e2f4988
🔍 Latest deploy log https://app.netlify.com/sites/splinterdb/deploys/65b4540bdc01f600085ab582

This commit cleans-up the `#include <unistd.h>` from several .c
files that needed access to get pid(). Instead, change the code
to invoke platform_getpid(), now defined in platform_inline.h
@gapisback
gapisback force-pushed the agurajada/599-Fix-unitstd.h branch from 7dc9686 to e2f4988 Compare January 27, 2024 00:53
@gapisback
gapisback requested a review from rtjohnso January 27, 2024 03:40
@gapisback
gapisback marked this pull request as ready for review January 27, 2024 03:40

@rtjohnso rtjohnso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@gapisback
gapisback merged commit 2eacefa into main Jan 29, 2024
@gapisback
gapisback deleted the agurajada/599-Fix-unitstd.h branch January 29, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove #include <unistd.h> from various files that use getpid(). Instead provide platform'ized version of getpid()

3 participants