Skip to content

Commit

Permalink
Remove C binding for pthread_getattr_np, use core.thread
Browse files Browse the repository at this point in the history
It's been there since 2012.
  • Loading branch information
Geod24 committed Oct 2, 2023
1 parent a8f85d0 commit 8efbcae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integrationtest/asyncio/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import ocean.meta.types.Qualifiers;

import core.sys.posix.sys.stat;
import core.sys.posix.pthread;
import core.thread : pthread_getattr_np;
import ocean.core.Test;
import ocean.sys.ErrnoException;
import ocean.util.app.DaemonApp;
Expand All @@ -28,8 +29,6 @@ import ocean.util.aio.AsyncIO;
import ocean.io.device.File;
import ocean.util.test.DirectorySandbox;

extern(C) int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr);

class AsyncIOUsingApp: DaemonApp
{
AsyncIO async_io;
Expand Down

0 comments on commit 8efbcae

Please sign in to comment.