Re: [PATCH v2 5/8] xfsdump: convert IRIX sproc threads to pthreads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Looks good.

Reviewed-by: Alex Elder <aelder@xxxxxxx>


_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux