Texas Instruments TMS320 DSP Computer Hardware User Manual


 
D.1GlossaryofTerms
AppendixD
SPRU352GJune2005RevisedFebruary2007
Glossary
AbstractInterfaceAninterfacedefinedbyaCheaderwhosefunctionsarespecifiedbyastructureof
functionpointers.Byconventiontheseinterfaceheadersbeginwiththeletter'i'andtheinterface
namebeginswith'I'.Suchaninterfaceis"abstract"because,ingeneral,manymodulesinasystem
implementthesameabstractinterface;i.e.,theinterfacedefinesabstractoperationssupportedby
manymodules.
AlgorithmTechnically,analgorithmisasequenceofoperations,eachchosenfromafinitesetof
well-definedoperations(e.g.,computerinstructions),thathaltsinafinitetime,andcomputesa
mathematicalfunction.Inthecontextofthisspecification,however,weallowalgorithmstoemploy
heuristicsanddonotrequirethattheyalwaysproduceacorrectanswer.
APIAcronymforApplicationProgrammingInterfacei.e.,aspecificsetofconstants,types,variables,
andfunctionsusedtoprogrammaticallyinteractwithapieceofsoftware.
AsynchronousSystemCallsMostsystemcallsblock(or"suspend")thecallingthreaduntilthey
complete,andcontinueitsexecutionimmediatelyfollowingthecall.Somesystemsalsoprovide
asynchronous(ornon-blocking)formsofthesecalls;thekernelnotifiesthecallerthroughsome
kindofout-of-bandmethodwhensuchasystemcallhascompleted
Asynchronoussystemcallsaregenerallymuchharderfortheprogrammertodealwiththan
blockingcalls.Thiscomplexityisoftenoutweighedbytheperformancebenefitsforreal-time
computeintensiveapplications.
ClientThetermclientisoftenusedtodenoteanypieceofsoftwarethatusesafunction,module,or
interface;forexample,ifthefunctiona()callsthefunctionb(),a()isaclientofb().Similarly,ifan
applicationAppusesmoduleMOD,AppisaclientofMOD.
COFFCommonOutputFileFormat.ThefileformatofthefilesproducedbytheTIcompiler,assembler,
andlinker.
ConcreteInterfaceAninterfacedefinedbyaCheaderwhosefunctionsareimplementedbyasingle
modulewithinasystem.Thisisincontrasttoanabstractinterfacewheremultiplemodulesina
systemmayimplementthesameabstractinterface.Theheaderforeverymoduledefinesa
concreteinterface.
ContextSwitchAcontextswitchistheactionofswitchingaCPUbetweenonethreadandanother(or
transferringcontrolbetweenthem).Thismayinvolvecrossingoneormoreprotectionboundaries.
CriticalSectionAcriticalsectionofcodeisoneinwhichdatathatmaybeaccessedbyotherthreads
areinconsistent.Atahigherlevel,acriticalsectioncanbeviewedasasectionofcodeinwhicha
guaranteeyoumaketootherthreadsaboutthestateofsomedatamaynotbetrue.
Ifotherthreadscanaccessthesedataduringacriticalsection,yourprogrammaynotbehave
correctly.Thismaycauseittocrash,lockup,produceincorrectresults,ordojustaboutanyother
unpleasantthingyoucaretoimagine.
Otherthreadsaregenerallydeniedaccesstoinconsistentdataduringacriticalsection(usually
throughuseoflocks).Ifsomeofyourcriticalsectionsaretoolong,however,itmayresultinyour
codeperformingpoorly.
SPRU352GJune2005RevisedFebruary2007Glossary85
SubmitDocumentationFeedback