[pthread-stubs,2/4] Revert "list.m4: Add some new pthread symbols"

Submitted by Emil Velikov on Nov. 3, 2016, 8:24 p.m.

Details

Message ID 20161103202459.25180-3-emil.l.velikov@gmail.com
State New
Series "Rework pthread-stubs design/implementation"
Headers show

Commit Message

Emil Velikov Nov. 3, 2016, 8:24 p.m.
This reverts commit fa6db2f9c018c54a47e94c0175450303d700aa92.

This commit causes pthread-stubs to provide a library (with stubs) for
most platforms. This by itself is the goal of the project, although
unveiled severe design issue with the project as a whole.

That will be covered and addressed in a later commit.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98048
---
 list.m4 | 3 ---
 1 file changed, 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/list.m4 b/list.m4
index 10c1965..79b5b59 100644
--- a/list.m4
+++ b/list.m4
@@ -13,6 +13,3 @@  alias(zero,	int,  pthread_cond_signal)
 alias(zero,	int,  pthread_cond_broadcast)
 alias(equal,	int,  pthread_equal)
 alias(exit,	void, pthread_exit)
-alias(zero,	int,  pthread_mutexattr_init)
-alias(zero,	int,  pthread_mutexattr_settype)
-alias(zero,	int,  pthread_mutexattr_destroy)

Comments

Uli Schlachter Nov. 4, 2016, 3:51 p.m.
On 03.11.2016 21:24, Emil Velikov wrote:
> This reverts commit fa6db2f9c018c54a47e94c0175450303d700aa92.
> 
> This commit causes pthread-stubs to provide a library (with stubs) for
> most platforms. This by itself is the goal of the project, although
> unveiled severe design issue with the project as a whole.
> 
> That will be covered and addressed in a later commit.

I'd add some text here.

pthread-stubs won't provide/guarantee these symbols any more. That's "a
good thing", because otherwise it would cause linking with libpthreads
on all(?) platforms.

> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98048
> ---
>  list.m4 | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/list.m4 b/list.m4
> index 10c1965..79b5b59 100644
> --- a/list.m4
> +++ b/list.m4
> @@ -13,6 +13,3 @@ alias(zero,	int,  pthread_cond_signal)
>  alias(zero,	int,  pthread_cond_broadcast)
>  alias(equal,	int,  pthread_equal)
>  alias(exit,	void, pthread_exit)
> -alias(zero,	int,  pthread_mutexattr_init)
> -alias(zero,	int,  pthread_mutexattr_settype)
> -alias(zero,	int,  pthread_mutexattr_destroy)
>