[PATCH v2 5/8] xfsdump: convert IRIX sproc threads to pthreads
Alex Elder
aelder at sgi.com
Mon Nov 7 20:02:20 CST 2011
On Mon, 2011-11-07 at 14:58 -0600, Bill Kendall wrote:
> The existing (disabled) threading code in xfsdump is based on IRIX
> sprocs. This patch converts the code to use pthreads. The threading code
> remains disabled at this point.
>
> Changes:
> - pid_t to pthread_t
> - getpid() to pthread_self()
> - "pid1 == pid2" to pthread_equal(tid1, tid2)
> - sigprocmask() to pthread_sigmask()
> - sproc() to pthread_create()
>
> Also the following are not referenced and have been removed:
> - cldmgr_pid2streamix()
> - PROCMAX
> - r_slavepid
> - sproc.c and sproc.h
>
> Signed-off-by: Bill Kendall <wkendall at sgi.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
Looks good.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list