Implement job control

- Add a job control module for spawning and controlling co-processes
- Add three vimscript functions for interfacing with the module
- Use dedicated header files for typedefs/structs in event/job modules
This commit is contained in:
Thiago de Arruda
2014-04-07 14:21:42 -03:00
parent 39932212d8
commit 4b063ea3ad
13 changed files with 632 additions and 14 deletions

View File

@@ -56,6 +56,7 @@
#include "os/input.h"
#include "os/shell.h"
#include "os/signal.h"
#include "os/job.h"
#include "os_unixx.h" /* unix includes for os_unix.c only */
@@ -589,6 +590,7 @@ void mch_exit(int r)
{
exiting = TRUE;
job_teardown();
{
settmode(TMODE_COOK);