#include <stdio.h>
#include <gtk/gtk.h>
#include <glib.h>
#include <unistd.h>
#include <pthread.h>
#include <curl/curl.h>
Go to the source code of this file.
|
int | j = 0 |
|
pthread_mutex_t | lock = PTHREAD_MUTEX_INITIALIZER |
|
gint | num_urls = 9 |
|
const char *const | urls [] |
|
◆ NUMT
◆ cb_delete()
static gboolean cb_delete |
( |
GtkWidget * |
window, |
|
|
gpointer |
data |
|
) |
| |
|
static |
◆ create_thread()
void* create_thread |
( |
void * |
progress_bar | ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ pull_one_url()
void* pull_one_url |
( |
void * |
NaN | ) |
|
◆ pulse_bar()
gboolean pulse_bar |
( |
gpointer |
data | ) |
|
◆ write_file()
◆ lock
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER |
◆ num_urls
◆ urls
Initial value:= {
"90022",
"90023",
"90024",
"90025",
"90026",
"90027",
"90028",
"90029",
"90030"
}
Definition at line 49 of file smooth-gtk-thread.c.