/[gentoo-x86]/eclass/multiprocessing.eclass
Gentoo

Diff of /eclass/multiprocessing.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.8 2013/12/21 09:40:37 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/multiprocessing.eclass,v 1.9 2014/07/11 08:21:58 ulm Exp $
4 4
5# @ECLASS: multiprocessing.eclass 5# @ECLASS: multiprocessing.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
31# 31#
32# # Then wait for all the children to finish: 32# # Then wait for all the children to finish:
33# multijob_finish 33# multijob_finish
34# @CODE 34# @CODE
35 35
36if [[ ${___ECLASS_ONCE_MULTIPROCESSING} != "recur -_+^+_- spank" ]] ; then 36if [[ -z ${_MULTIPROCESSING_ECLASS} ]]; then
37___ECLASS_ONCE_MULTIPROCESSING="recur -_+^+_- spank" 37_MULTIPROCESSING_ECLASS=1
38 38
39# @FUNCTION: bashpid 39# @FUNCTION: bashpid
40# @DESCRIPTION: 40# @DESCRIPTION:
41# Return the process id of the current sub shell. This is to support bash 41# Return the process id of the current sub shell. This is to support bash
42# versions older than 4.0 that lack $BASHPID support natively. Simply do: 42# versions older than 4.0 that lack $BASHPID support natively. Simply do:

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20