lastfm: put code that takes info from a thread to separate function
This commit is contained in:
@@ -76,6 +76,7 @@ class Lastfm : public Screen<Scrollpad>
|
||||
void Download();
|
||||
static void *DownloadWrapper(void *);
|
||||
|
||||
void Take();
|
||||
bool isReadyToTake;
|
||||
bool isDownloadInProgress;
|
||||
pthread_t itsDownloader;
|
||||
|
||||
Reference in New Issue
Block a user