Skip to main content

2018 | OriginalPaper | Buchkapitel

Parallel Programming for Interactive GUI Applications

verfasst von : Nasser Giacaman, Oliver Sinnen

Erschienen in: Topics in Parallel and Distributed Computing

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

This chapter will help you understand the rules that you must adhere to when developing a concurrent application with a graphical user interface (GUI). Regardless of the technology you use (for example, developing an Android mobile app or a desktop application using the .NET Framework), the concepts presented here are standard for the GUI toolkits you will use. The most important aspect includes ensuring the application does not freeze or become unresponsive, by employing background threads. This in turn leads to the other important consideration, which relates to ensuring access to any GUI components does not introduce potential race conditions. Collectively, the concepts presented here relate to the single-thread rule that governs almost all GUI toolkits you will likely come across.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The first code example (cash balance problem) is included in the Appendix, and all the example codes are downloadable from http://​parallel.​auckland.​ac.​nz/​files/​gui-chapter-examples.​zip
 
2
This isn’t to say that locks cannot be used, but rather that we are going to solve this scenario without locks.
 
3
Although “pile” is used in this analogy, the memos will be processed in a first in first out (FIFO) manner.
 
Literatur
1.
Zurück zum Zitat S. K. Prasad, A. Chtchelkanova, M. G. F. Dehne, A. Gupta, J. Jaja, K. Kant, A. L. Salle, R. LeBlanc, A. Lumsdaine, D. Padua, M. Parashar, V. Prasanna, Y. Robert, A. Rosenberg, S. Sahni, B. Shirazi, A. Sussman, C. Weems, and J. Wu, “NSF/IEEE-TCPP Curriculum Initiative on Parallel and Distributed Computing – Core Topics for Undergraduates, Version 1,” http://www.cs.gsu.edu/~tcpp/curriculum, 2012. S. K. Prasad, A. Chtchelkanova, M. G. F. Dehne, A. Gupta, J. Jaja, K. Kant, A. L. Salle, R. LeBlanc, A. Lumsdaine, D. Padua, M. Parashar, V. Prasanna, Y. Robert, A. Rosenberg, S. Sahni, B. Shirazi, A. Sussman, C. Weems, and J. Wu, “NSF/IEEE-TCPP Curriculum Initiative on Parallel and Distributed Computing – Core Topics for Undergraduates, Version 1,” http://​www.​cs.​gsu.​edu/​~tcpp/​curriculum, 2012.
2.
Zurück zum Zitat D. Lea, Concurrent programming in Java: design principles and patterns, 2nd ed. Addison-Wesley, 1999. D. Lea, Concurrent programming in Java: design principles and patterns, 2nd ed. Addison-Wesley, 1999.
3.
Zurück zum Zitat P. Hyde, Java Thread Programming. Sams, 2001. P. Hyde, Java Thread Programming. Sams, 2001.
4.
Zurück zum Zitat E. Ludwig, “Multi-threaded user interfaces in java,” Ph.D. dissertation, University of Osnabrück, Germany, May 2006. E. Ludwig, “Multi-threaded user interfaces in java,” Ph.D. dissertation, University of Osnabrück, Germany, May 2006.
Metadaten
Titel
Parallel Programming for Interactive GUI Applications
verfasst von
Nasser Giacaman
Oliver Sinnen
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-93109-8_10

Premium Partner