Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features for job manager and integration into dynamic audio loading. #192

Merged
merged 27 commits into from
Feb 28, 2015

Conversation

andrekupka
Copy link
Member

I have added some features to the job manager.

  1. job groups that assure, that multiple jobs are executed on the same background thread
  2. jobs can check whether they should be aborted and abort themselves

Further I have integrated the new job groups into the dynamic audio loading implementation.

@andrekupka andrekupka added lang: c++ Done in C++ code nice new thing ☺ A new feature that was not there before improvement Enhancement of an existing component and removed in progress labels Jan 19, 2015
@andrekupka
Copy link
Member Author

The build fails with gcc 4.8.1 because of the thread_local thread_id in thread_id.cpp. With gcc 4.8.2 it builds without any problems. Clang doesn't complain either.

@TheJJ
Copy link
Member

TheJJ commented Jan 19, 2015

Hopefully the newer compiler version will be available once travis-ci/travis-ci#979 is fixed. The currently used ubuntu toolchain ppa does not provide >=gcc-4.8.2 && <gcc-4.9 for ubuntu precise (12.04).

We either have to find another ppa, build it ourself (but the ppa system is nasty...) or wait for travis to provide a newer distro.

@mic-e
Copy link
Member

mic-e commented Jan 20, 2015

I think switching to a different PPA would be best. If all else fails, we could add it to our custom sfttech PPA.

@@ -17,17 +17,14 @@ namespace audio {

void global_audio_callback(void *userdata, uint8_t *stream, int len);

AudioManager::AudioManager(int freq, SDL_AudioFormat format, uint8_t channels,
uint16_t samples)
AudioManager::AudioManager()
:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one tab indent for initializer list pls

@mic-e
Copy link
Member

mic-e commented Feb 28, 2015

Looking good now 👍

andrekupka pushed a commit that referenced this pull request Feb 28, 2015
New features for job manager and integration into dynamic audio loading.
@andrekupka andrekupka merged commit aed7108 into SFTtech:master Feb 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Enhancement of an existing component lang: c++ Done in C++ code nice new thing ☺ A new feature that was not there before
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants