Palmclub forum

Palmclub Forum

alles over je Palm Treo smartphone of PalmOS pda

 
Ga terug   Palmclub forum > PalmOS - Algemeen > Softwareontwikkeling

Registreer FAQ Ledenlijst Kalender Zoeken Berichten van vandaag Markeer forums als gelezen
  #1  
Oud 15 juli 2003, 10:52
frarie's schermafbeelding
frarie frarie is offline
Forumbikkel
Model: Palm Tungsten|C
 
Geregistreerd: 25 mei 2003
Berichten: 156
Multi tasking

Hoi,

Ik kan hiervoor geen antwoord op het forum vinden, dus de vraag:

Zal Palm OS in de (nabije) toekomst multi-tasking gaan ondersteunen? Met andere woorden: meerdere processen tegelijk draaien.

Ik begrijp dat dit voor een PDA op zich geen key functionaliteit is, ik kan me echter wel voor stellen dat dit met het steeds krachtiger worden van processoren een interessante 'feature' wordt.

Frank
Met citaat reageren
  #2  
Oud 15 juli 2003, 11:07
koekiemonster's schermafbeelding
koekiemonster koekiemonster is offline
Moderatorkoek
Voornaam: Gerrit
Model: Garmin iQue 3600
 
Geregistreerd: 03 augustus 2002
Locatie: Oterleek
Berichten: 4.945
Stuur een bericht via MSN naar koekiemonster
De OS6-palms staan gepland voor het einde van dit jaar. Er wordt beloofd dat OS6 revolutonair anders zal worden dan de vorige besturingssystemen. Dus OS6 zou best eens multitasking kunnen gaan bieden.
Met citaat reageren
  #3  
Oud 15 juli 2003, 11:08
patrickl's schermafbeelding
patrickl patrickl is offline
ex-lid
Voornaam: Patrick
Model: Sony Clie PEG-NX70V
 
Geregistreerd: 08 mei 2001
Locatie: Amstelveen
Berichten: 3.239
Het zou in OS6 komen, maar dat moet je dus maar afwachten.

Overigens kun je in OS5 al met notifications een hoop doen (de vroeger hacks) en anders met DA programma's (dat zijn kleine pop-up programmatjes).
Met citaat reageren
  #4  
Oud 15 juli 2003, 11:41
frarie's schermafbeelding
frarie frarie is offline
Forumbikkel
Model: Palm Tungsten|C
 
Geregistreerd: 25 mei 2003
Berichten: 156
Hmm, ja, ik kwam een beetje op deze vraag doordat ik in een andere thread las dat een flitspaal gps proggie niet icm. een route planner op de Palm zou draaien vanwege het gebrek aan multi-tasking.
Ik neem dan ook aan dat het met OS5 niet kan... ik neem aan dat je alleen 'hooks' kan zetten op bepaalde tijdsstippen? Hmm, misschien zou je dan dus nog een hook om de seconde kunnen zetten, ben dan alleen een beetje bang dat je een niet goed performande 'quasy' multi processing omgeving emuleert

OK, ik hoop (en het lijkt me ook logisch) dat OS6 op de Tungsten draait en op dit gebied een beetje meer naar Pocket PC gaat. Wordt denk ik best belangrijk.
Met citaat reageren
  #5  
Oud 15 juli 2003, 11:43
Gazpacho's schermafbeelding
Gazpacho Gazpacho is offline
Moderatorsoep
Voornaam: Karel
Model: Apple iPhone
 
Geregistreerd: 24 december 2002
Locatie: Eindhoven
Berichten: 10.385
Citaat:
OK, ik hoop (en het lijkt me ook logisch) dat OS6 op de Tungsten draait
Nou... eerst zien, dan geloven. Tot nu toe zijn de geluiden wel dat OS6 backwards compatible is, maar je weet het nooit tot het uiteindelijke product uitkomt.
__________________
FoleoCentral.com
Met citaat reageren
  #6  
Oud 15 juli 2003, 11:50
patrickl's schermafbeelding
patrickl patrickl is offline
ex-lid
Voornaam: Patrick
Model: Sony Clie PEG-NX70V
 
Geregistreerd: 08 mei 2001
Locatie: Amstelveen
Berichten: 3.239
frarie,

Ik heb zelf ook zitten denken over zo'n hack. Ik weet even niet welke events je alemaal kunt afvangen, maar het gaat dus om "events" en niet om tijdstippen. Als daar een hook voor te vinden is zou je best al het RS232 verkeer moeten kunnen aftappen.

Waar ik over zat te denken was een GPS logger die in de achtergrond draaide (er zijn zat programma's die niet of niet volledig loggen). Een flitspaal waarschuwer zou inderdaad ook kunnen. Alhoewel je daar eigenlijk wel ook iets voor op het scherm wil laten zien en dat maakt alles een stuk lastiger.
Met citaat reageren
  #7  
Oud 15 juli 2003, 13:39
frarie's schermafbeelding
frarie frarie is offline
Forumbikkel
Model: Palm Tungsten|C
 
Geregistreerd: 25 mei 2003
Berichten: 156
Citaat:
Op 15-07-2003, om 11:50 heeft patrickl dit gezegd in bericht #6
frarie,

Ik heb zelf ook zitten denken over zo'n hack. Ik weet even niet welke events je alemaal kunt afvangen, maar het gaat dus om "events" en niet om tijdstippen.
Hoe zit dat dan met die grote hoeveelheid alarm klokken die je op de Palm kan krijgen? Die krijgen toch op een zeker tijdstip een schop om lawaai te maken?
('s-morgens vroeg )

Dan zou je dus denken dat je die functionaliteit kan misbruiken om een periodieke poll te doen. Maar ja, idd., als je in staat bent door verkeer een trigger te krijgen, dan is het natuurlijk een stukker netter... hoewel ik me afvraag of dat goed werkt wanneer die poort continue met pakketjes wordt gevoed ....
Met citaat reageren
  #8  
Oud 15 juli 2003, 13:53
patrickl's schermafbeelding
patrickl patrickl is offline
ex-lid
Voornaam: Patrick
Model: Sony Clie PEG-NX70V
 
Geregistreerd: 08 mei 2001
Locatie: Amstelveen
Berichten: 3.239
Een alarm en een event notification zijn verschillende zaken, maar het werkt waarschijnlijk wel op basis van hetzelfde principe. Een alarm kun je vast ook een hook op zetten.

Overigens komt het GPS verkeer ook maar eens per seconde. Dus je hebt nit continu pakketjes.
Met citaat reageren
  #9  
Oud 15 juli 2003, 21:06
Arent Arent is offline
Model: Overig
 
Geregistreerd: 23 november 2000
Berichten: 1.021
Op de Tungsten|T (OS 5.0) en Tungsten|C (OS 5.2.1) blijft de muziek met bijvoorbeeld de RealPlayer en de AeroPlayer doorspelen terwijl je andere programma´s gebruikt. Je merkt wel vertraging, maar zonder één of andere multitasking-techniek in het OS lijkt dit niet te verwezenlijken. De muziek speelt continue door, ik kan me niet voorstellen dat dit met Events of Notifications bereikt is. Als je kunt achterhalen hoe dit in elkaar steekt is er misschien iets mee te beginnen.
Met citaat reageren
  #10  
Oud 15 juli 2003, 21:55
frarie's schermafbeelding
frarie frarie is offline
Forumbikkel
Model: Palm Tungsten|C
 
Geregistreerd: 25 mei 2003
Berichten: 156
Citaat:
Op 15-07-2003, om 21:06 heeft Arent dit gezegd in bericht #9
Op de Tungsten|T (OS 5.0) en Tungsten|C (OS 5.2.1) blijft de muziek met bijvoorbeeld de RealPlayer en de AeroPlayer doorspelen terwijl je andere programma´s gebruikt.
Hmm, effe het web afgebrowsed en hier tegenaan gelopen. OS5 kan al multi-tasken en heeft zelfs multi-threading support.

Ziet er dus naar uit dat we in de toekomst meerdere multi-tasking/threading applicaties gaan zien?
Wat ik dan alleen nog mis is een task manager

Verder gaat het bij de OS 6 discussies nogal vaak over de kans dat hier multi-tasking/threading zal worden ingebouwd. Ik denk dat het hier gaat om een betere implementatie ervan, ik heb het gevoel dat OS 5 een beetje een 'snelle' hack op dit gebied is.

Een quote uit deze thread in het Nieuws en wist-je-dat forum, het gaat over OS6:
Citaat:
The road to updating PalmOS has been a long one, and the company is halfway to its goal of moving off the 68000 hardware onto ARM, and providing a modern multitasking OS.
Ik denk dat het woordje 'modern' hierin belangrijk is.

En nog een quote uit dezelfde thread:
Citaat:
# In OS6 is de multi-tasking capaciteit verbetert / uitgebreid
Kwam langs nog een interessant artikel op het web, deze is weer wat negatiever over OS 5:
Citaat:
- No multi-tasking. Usually this isn't an annoyance. The way that this is implemented in Palm is that if you open another program, the old program is closed, but the "position" is saved, so that when you reopen the first program that you were using, you're back where you left off. The only "true" multi-tasking that's supported in Palm OS 5 is playing MP3s in the background. However when you switch from the MP3 player to another program, the song kinda jiggles (for lack of a better word), so it's not exactly smooth. At the moment I'm using Real Player to play MP3s. Pretty simplistic program - supports playlists, shuffle, repeat, play, pause, stop, forward and back. And that's it. Sorely miss the ability to map buttons, graphical equaliser, presets, visible playlist and cool-looking skins. I tried AeroPlayer which is meant to be much better, but I couldn't get it working well on my Zire - all of the MP3s played very choppily. Oh for PocketMusic on a Palm!
Dit klinkt toch wel vreemd, een applicatie kan alleen runnen wanneer deze mp3 afspeeld.
Gokje: misschien kan real-player een mp3'tje asynchroon aan een API call van OS/5 aanbieden? Maar waar hebben we realplayer dan voor nodig? Alleen om de mp3 file zelf te streamen?! Dan is mijn advies: KOOP REAL PLAYER NIET, er komt wel een gratis free-ware proggie uit wanneer iemand de API te pakken krijgt Maar goed, dit is koffiedik kijken.

Vaag dus, OS5 ondersteund een vorm van multi-tasking(/threading). Hoe en wat precies, geen idee

Laatst gewijzigd door frarie; 15 juli 2003 om 21:59.
Met citaat reageren
  #11  
Oud 15 juli 2003, 22:27
patrickl's schermafbeelding
patrickl patrickl is offline
ex-lid
Voornaam: Patrick
Model: Sony Clie PEG-NX70V
 
Geregistreerd: 08 mei 2001
Locatie: Amstelveen
Berichten: 3.239
Nou, de dingen die ze noemen in die PalmSource promo zitten er echt niet in:
- Als je de calender sluit is ie ook weg (= geen multi-tasking)
- Meerdere documenten tegelijk openen (waar dat multi-threading voor zou zijn) zit er ook niet in.
- Multi media (MP3 afspelen) zat er overduidelijk ook niet in.
- Scalable fonts zitten er ook niet in

Ik ben bang dat dit een voorlopig document is geweest ofzo. Volgens mij is OS5 uiteindelijk alleen de slag van 68020 processor naar ARM processor geworden en zou OS6 inderdaad de multi-tasking/multi-threading/multi media versie worden.

Ik ben bang dat de discussie de verkeerde kant op gaat. Volgens mij heb helemaal niets aan multi-tasking voor een GPS waarschuwer. Wat je nodig hebt is iets om het GPS verkeer af te vangen en dat zijn de even notifications. Met een multi-tasking applicatie gaat dat je nooit lukken, want die komt nooit bij de serieele poort die een ander programma al gepakt heeft.

Overigens zou het best kunnen dat de MP3 speler in de Sony Clie (en misschien ook in de Palm?) grotendeels in de hardware zit. De processor is dan alleen nog nodig om de boel te starten en stoppen (en misschien zo nu en dan om de boel weer van een nieuw data blok te voorzien) Dat zou dus best met event notifications kunnen werken. Ik heb eerlijk gezegd geen flauw idee hoe ze het gedaan hebben. Ik geef alleen maar aan dat het zonder multi-tasking ook wel kan. Zo moeilijk is het nou ook weer niet om wat multitasking in het OS te bouwen (zeker als het alleen voor 1 locale service is).
Met citaat reageren
  #12  
Oud 16 juli 2003, 09:39
RobB's schermafbeelding
RobB RobB is offline
Huisprogrammeur
Voornaam: Rob
Model: Overig
 
Geregistreerd: 06 december 2000
Locatie: 82.174.252.255
Berichten: 911
Ik weet niet hoe het bij de palm tungstens gedaan is, maar bij de sony clie's is de MP3 speler inderdaad geheel in hardware gedaan. De processor (lees palmos) hoeft alleen het begin en eindadres op te geven waar de MP3 zich in het geheugen (alleen memory stick) bevind en de hardware regelt de rest.
__________________
Rob.

The real source of applications.
___________________________________
Met citaat reageren
  #13  
Oud 16 juli 2003, 10:29
frarie's schermafbeelding
frarie frarie is offline
Forumbikkel
Model: Palm Tungsten|C
 
Geregistreerd: 25 mei 2003
Berichten: 156
Dit artikel op palmsource lijkt een aardige uitleg te geven, het artikel heeft het veel over ARM, dus hoewel OS 5 niet genoemd wordt neem ik aan dat ze het daar over hebben wanneer ze maar 1 stukje over multi-tasking opnemen.

Citaat:
The Microkernel
Palm OS has a preemptive multitasking kernel that provides basic task management.

Most applications don't need the microkernel services because they are handled automatically by the system. This functionality is provided mainly for internal use by the system software or for certain special purpose applications.

In this version of the Palm OS, there is only one user interface application running at a time. The User Interface Application Shell (UIAS) is responsible for managing the current user-interface application. The UIAS launches the current user-interface application as a subroutine and doesn't get control back until that application quits. When control returns to the UIAS, the UIAS immediately launches the next application as another subroutine. See "Power Management Calls" for more information.

Usually, the UIAS is the only task running. Occasionally though, an application launches another task as a part of its normal operation. One example of this is the Sync application, which launches a second task to handle the serial communication with the desktop. The Sync application creates a second task dedicated to the serial communication and gives this task a lower priority than the main user-interface task. The result is optimal performance over the serial port without a delay in response to the user-interface controls.

Normally, there is no user interaction during a sync, so that the serial communication task gets all of the processor's time. However, if the user does tap on the screen, for example, to cancel the sync, the user-interface task immediately processes the tap, since it has a higher priority. Alternatively, the Sync application could have been written to use just one task, but then it would have to periodically poll for user input during the serial communication, which would hamper performance and user-interface response time.
NOTE: Only system software can launch a separate task. The multi-tasking API is not available to developer applications.
Mijn gevoel bij dit alles: ze hebben het nog niet aangedurft om de huidige multi-tasking implementatie aan externe developers toe te vertrouwen (misschien angst voor crashes, applicaties die op een hoge prio de rest compleet blokkeren, etc.. en dus een vloedgolf van support calls )

Frank
Met citaat reageren
  #14  
Oud 10 februari 2004, 11:59
roadie
Guest
 
Berichten: n/a
Exclamation

niet multi tasking

ik werk nu bij het bedrijf wat een GPS locater voor flitspalen levert op een PDS

(speedwarner heet dat, maar ff terzijde)

Dit werkt al vanaf palm OS 3.51

maar vanaf palm OS versie 5.0 kan deze prima lopen met een navigatie bundel

zelfs een mp3 speler kan er dan ook nog bij. Dit is getest op een thungsten palm, is een tungsten uit de T serie d8 uit mijn hoofd een T2
Met citaat reageren
  #15  
Oud 10 februari 2004, 13:04
zugzug's schermafbeelding
zugzug zugzug is offline
- - -
Voornaam: Roel
Model: Palm Treo 650
 
Geregistreerd: 04 januari 2003
Locatie: Nijmegen
Berichten: 428
Stuur een bericht via ICQ naar zugzug
Dit is wel een treffende opinie van PDAthoughts:

Citaat:
Multi-Tasking - You may be disappointed by Bob Deskin (14/01/2004)

One of the big new features often touted for PalmOS 6 is multi-tasking. Now I have not seen any new specs or feature lists, so I don't even know if it will have multi-tasking or if it does, what form it will take. However, multi-tasking is not a holy grail and may be even worse than what you've got. It all depends on how it's implemented.

First of all, what is multi-tasking. Simple, the ability to have more than one process share the processor. Note that the current PalmOS only runs one process at a time. This means that if you started recalculating a spreadsheet and launched another application, that the spreadsheet processing stops. Some applications won't let you leave until they're ready. Most PalmOS applications save their state so it looks as if they kept running. But in reality when they're launched again, they reload that saved position You'll notice that very few PalmOS applications have an Exit or Quit function as applications do in Windows. They don't need it. When you want to leave, you simple launch the next application. There's no resource issue because only one application is using the resources at a time.

But, but, you sputter, what about alarms? What about popups? The PalmOS works on an event stack. You can put timed events in the stack. As for popups, like Find and DAs and Hacks, they actually interrupt the current application in such a way that the current application suspends, the DA or Hack operates, and then the original application resumes. This is not standard operating procedure which is why its not that difficult to get conflicts and aborts.

Multi-tasking done right would obviate the need for some hacks and DAs. Do you recall what the original Mac was like? When you were in one app, you couldn't get to another app without closing down. So people created Desk Accessories to do things like lookups, calculators, etc. The PalmOS is nicer in a way because well-behaved applications automatically save their state. However, if you have a text entry box open and you need something from another application, you usually can't get it without either closing the text box or having it closed. So we now have Hacks and DAs that let us pop up pick lists, enter a ToDo even though we're inside the datebook, and so on.

Multi-tasking would let us get to another application without closing down the current one. However, this would require that each application have an actual exit command. So most Palm apps would have to be modified unless the operating system somehow provided one.

Multi-tasking should let you do things in the background. So you might recalculate a large spreadsheet while you're writing a note. I don't know that you do this sort of thing often on a handheld. Certainly it's not a big deal for me.

The PocketPC issue is that it leaves apps running all the time. So after a while you have lots of apps running, using up your resources. I suppose they didn't want people worrying about applications like you do in Windows. And you can't have the operating system automatically shut down the oldest application because chances are that's the one you want to return to.

So multi-tasking may have advantages but it will also complicate things.

Personally, I used a Mac and was fine with it. I use Windows and I'm fine with that. And I use PalmOS 4 and 5 and I'm fine with them. It depends what you need to do. Multi-tasking is not a panacea or holy grail. I'm not necessarily looking forward to it at all. On the other hand it may be the best thing since sliced bread. But the fact that it MIGHT be coming didn't stop me from buying my T3.

Just my .02 worth of course.
__________________
Wijze sigs zijn voor wijze mensen. [Last.FM]
Met citaat reageren
Reageren

Favorieten/bladwijzers


Er zijn 1 actieve gebruikers die momenteel deze discussie bekijken (0 leden en 1 gasten)
 
Discussietools
Weergave

Regels voor berichten
Je mag geen nieuwe discussies starten
Je mag niet reageren op berichten
Je mag geen bijlagen versturen
Je mag niet je berichten bewerken

BB code is Aan
Smileys zijn Aan
[IMG]-code is Aan
HTML-code is Uit


Alle tijden zijn GMT +1. Het is nu 14:11.


Apple iPhone en iPad
(c) Nederlandse Palmclub Stichting 1999-2023