[w3m-dev 02967] parallel image downloading
* fm.h (ImageCache): add touch, pid * image.c (getCharSize): retry fscanf * image.c (drawImage): retry fflush * image.c (MAX_LOAD_IMAGE): added, default 4 * image.c (image_cache): change to ImageCache** * image.c (image_lock): added * image.c (load_image_handler): signal SIGUSR1 * image.c (load_image_next): signal SIGUSR1 * image.c (loadImage): parallel image downloading * image.c (getImage): initialize touch, pid * image.c (getImageSize): return value is TRUE or FALSE retry fscanf From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
4
fm.h
4
fm.h
@@ -1,4 +1,4 @@
|
||||
/* $Id: fm.h,v 1.47 2002/02/03 06:12:41 ukai Exp $ */
|
||||
/* $Id: fm.h,v 1.48 2002/02/03 06:38:49 ukai Exp $ */
|
||||
/*
|
||||
* w3m: WWW wo Miru utility
|
||||
*
|
||||
@@ -325,6 +325,8 @@ typedef struct _imageCache {
|
||||
char *url;
|
||||
ParsedURL *current;
|
||||
char *file;
|
||||
char *touch;
|
||||
pid_t pid;
|
||||
char loaded;
|
||||
int index;
|
||||
short width;
|
||||
|
||||
Reference in New Issue
Block a user