Opened 14 years ago

Closed 13 years ago

#10311 closed Developer Task (fixed)

Cleanup reference counting

Reported by: danielk Owned by: danielk
Priority: minor Milestone: 0.26
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

There are some reference counters in MythTV, in particular in MythUI that start at 0 not 1.

This can cause a problem mostly because programmers assume a conventional reference counter API.

We can also improve the performance of our reference counters by using QAtomicInteger.

After we fix the API, we must rename the reference counter functions so that 3rd party users of the API won't be caught out by the change without warning.

Change History (16)

comment:1 by Raymond Wagner, 14 years ago

Status: newassigned
Version: UnspecifiedMaster Head

comment:2 by stuartm, 14 years ago

Type: Bug Report - GeneralDeveloper Task

comment:3 by Daniel Kristjansson <danielk@…>, 14 years ago

In 517a34867563021abd084490dd367e78e98d3b60/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:4 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In 671017faca19fc71253f6db119414ec59fb829df/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:5 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In f0bfe0f0737e918536b0dd8aca466c3d37df6032/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:6 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In 62d42998fb878d31262ac19a78b003bbf7a0e9b3/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:7 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In ad6d965b0f66e5cc96d4f1665d7d1edfe7449ebb/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:8 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In cd996fdc97bcf8bea05096ba6b99ff5355c4349e/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:9 by Daniel Thor Kristjansson <danielk@…>, 14 years ago

In 6e490cd7351bdabe204bd455c233f6759b7f7c05/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:10 by Daniel Kristjansson <danielk@…>, 14 years ago

In 7e98bdb1b9f05dd42ac6076557afe696ded79666/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:11 by Daniel Kristjansson <danielk@…>, 13 years ago

In f2a0d748d234ba162b4cd6d2cf8f4bc8b1c4fcac/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:12 by Daniel Kristjansson <danielk@…>, 13 years ago

In 426de1ba12c1f0310db28f98c65a7f55d210574f/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:13 by Daniel Kristjansson <danielk@…>, 13 years ago

In 263eef17762223b9e47b67c032330b88490963bd/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:14 by Daniel Kristjansson <danielk@…>, 13 years ago

In 1b8f1f32c92b167e50863a73545207f80cc7c328/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:15 by Daniel Kristjansson <danielk@…>, 13 years ago

In 6b04160ac3ad1666cd034aa809ed5bb939a2028c/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:16 by Daniel Thor Kristjansson <danielk@…>, 13 years ago

Resolution: fixed
Status: assignedclosed

In 0433370c01313ba010ca3d9d7757bd14e8f63d69/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.