Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • V virglrenderer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • virgl
  • virglrenderer
  • Merge requests
  • !67

vtest: Refactor vtest_server.c

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Jakob Bornecrantz requested to merge jakob-vtest-refactor into jakob-vtest-space Nov 15, 2018
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Refactor the main loop into smaller functions so that it is easier to extend with more functionality.

There should be no functional change with the exception of some socket listening code would return error codes as fds, where they now instead call perrno and exit(1).

Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>

PS: Commit is currently marked as wip as it depends on !66 (closed) and targets that branch instead of master.

Edited Nov 19, 2018 by Jakob Bornecrantz
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: jakob-vtest-refactor