update awe documentation
Add local_resources
Function to measure locally and set manual options.
Function to measure worker local/foreman global.
Measure just before sending the update to the master
Do not report manual option for disk and memory if less than available.

Disk and memory available to a worker may go under the manual option as
the worker shares resources with other processes. This commit makes the
worker conservative, by reporting the minimum between the total
available and the manual option.
Increment channel reference count on mmap copy.

Fixes #360.
Increment reference count by channel offset.

o Adds new pfs_channel_addref function. mmap constructors now add a reference.
o Move deleting the channel reference to the mmap destructor.
Set from command line time scale to s,m,h, or d
Fix manual typo
Merge pull request #418 from btovar/graph_wq

Optionally specify time scale for work_queue_graph_log.
Increment channel reference count on mmap copy.

Fixes #360.

* ccl/pull/415/head:
  Increment reference count by channel offset.
  Increment channel reference count on mmap copy.
Partially revert fc07b6e1b93086ca2a1600b8891069b28db1b534.

It seems this commit was added to ensure the actual parent (i.e. the process
that called clone) is notified on process death. Apparently this isn't correct
behavior as the man page for clone(2) states:

    A new thread created with CLONE_THREAD has the same parent process as the
    caller of clone() (i.e., like CLONE_PARENT), so that calls to getppid(2)
    return the same  value  for all of the threads in a thread group.  When a
    CLONE_THREAD thread terminates, the thread that created it using clone() is
    not sent a SIGCHLD (or other termination) signal; nor can the status of
    such a thread be obtained using wait(2).  (The thread is said to be
    detached.)

Since notify_parent is only set when flags&(CLONE_PARENT|CLONE_THREAD), we
do not need to send SIGCHLD to the actual_parent in any event.

This problem caused the issue #419 reported by Michi. waitpid(2) returned a
thread id when it should report an error ECHILD.

Fixes #419.
wait(2) cannot return detached threads.

Fix by @michi42.
Correct waitpid behavior with threads.

* ccl/pull/420/head:
  wait(2) cannot return detached threads.
  Partially revert fc07b6e1b93086ca2a1600b8891069b28db1b534.
Temporary fix, add link.h to PUBLIC_HEADERS to compile chirp apps
Merge pull request #422 from btovar/add_link_to_public

Temporary fix, add link.h to PUBLIC_HEADERS to compile chirp apps
wq_graph print line number of invalid values
Merge pull request #423 from btovar/wq_graph_better_error_check

wq_graph print line number of invalid values
don't use work_queue_pool to start workers